diff --git a/src/server.js b/src/server.js index 81e745f..ae9ec5d 100644 --- a/src/server.js +++ b/src/server.js @@ -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}.`) +})