use ESLint rules
This commit is contained in:
parent
55fa0532a2
commit
3b5933addd
1 changed files with 8 additions and 8 deletions
|
@ -1,13 +1,13 @@
|
|||
const express = require('express');
|
||||
const express = require('express')
|
||||
|
||||
const app = express();
|
||||
const port = 3000;
|
||||
const app = express()
|
||||
const port = 3000
|
||||
|
||||
app.set('views', 'src/views');
|
||||
app.set('view engine', 'ejs');
|
||||
app.set('views', 'src/views')
|
||||
app.set('view engine', 'ejs')
|
||||
|
||||
app.use('/', require('./routes'));
|
||||
app.use('/', require('./routes'))
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`Constnium started on port ${port}.`);
|
||||
});
|
||||
console.log(`Constnium started on port ${port}.`)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue