You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const express = require('express') |
|
const app = express() |
|
|
|
app.use('/', express.static('dist')) |
|
|
|
app.get('/hello', function (req, res) { |
|
res.send('Hello World!') |
|
}) |
|
|
|
app.listen(3000, function () { |
|
console.log('Example app listening on port 3000!') |
|
})
|
|
|