Add public folder
This commit is contained in:
parent
cbaa37d1b0
commit
5874e7064f
2 changed files with 2 additions and 0 deletions
0
public/css/style.css
Normal file
0
public/css/style.css
Normal 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, () => {
|
||||||
|
|
Loading…
Reference in a new issue