use ESLint rules

This commit is contained in:
Mylloon 2022-06-23 02:28:02 +02:00
parent 55fa0532a2
commit 3b5933addd
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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}.`)
})