diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index bfe31f4..a1b9967 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -8,7 +8,7 @@ const app = express(); | |||
8 | app.set('views', path.join(__dirname, 'views')); | 8 | app.set('views', path.join(__dirname, 'views')); |
9 | app.set('view engine', 'pug'); | 9 | app.set('view engine', 'pug'); |
10 | 10 | ||
11 | app.use(express.static('public')); | 11 | app.use(express.static(path.join(__dirname, 'public'))); |
12 | app.use('/', routes); | 12 | app.use('/', routes); |
13 | 13 | ||
14 | const server = app.listen(3000, () => { | 14 | const server = app.listen(3000, () => { |