diff options
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,9 +64,9 @@ const apiRoute = '/api/' + constants.API_VERSION | |||
64 | app.use(apiRoute, routes.api) | 64 | app.use(apiRoute, routes.api) |
65 | 65 | ||
66 | // Static files | 66 | // Static files |
67 | app.use('/app', express.static(path.join(__dirname, '/client'), { maxAge: 0 })) | 67 | app.use('/client', express.static(path.join(__dirname, '/client'), { maxAge: 0 })) |
68 | // 404 for static files not found | 68 | // 404 for static files not found |
69 | app.use('/app/*', function (req, res, next) { | 69 | app.use('/client/*', function (req, res, next) { |
70 | res.sendStatus(404) | 70 | res.sendStatus(404) |
71 | }) | 71 | }) |
72 | 72 | ||