Add public folder

This commit is contained in:
Mylloon 2022-06-23 03:05:27 +02:00
parent cbaa37d1b0
commit 5874e7064f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 0 deletions

0
public/css/style.css Normal file
View file

View file

@ -6,6 +6,8 @@ const port = 3000;
app.set('views', 'src/views'); app.set('views', 'src/views');
app.set('view engine', 'ejs'); app.set('view engine', 'ejs');
app.use(express.static('./public'));
app.use('/', require('./routes')); app.use('/', require('./routes'));
app.listen(port, () => { app.listen(port, () => {