Video 46: Serving up CSS, JS, Impages, and More
This commit is contained in:
@@ -8,7 +8,7 @@ app.use(express.static(publicDirectoryPath))
|
||||
|
||||
app.get('/weather', (req, res) => {
|
||||
res.send({
|
||||
forecast: 'It\'s snowing. It\'s really gross out.',
|
||||
forecast: 'It is snowing. In September.',
|
||||
location: 'Calgary'
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user