diff options
-rw-r--r-- | app.js | 1 | ||||
-rw-r--r-- | config.js | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -44,6 +44,7 @@ app.use('/api/v1', router); // set up serving of static frontend files app.use('/', express.static(config.frontend_path)); +app.use('/node_modules', express.static(config.node_modules_path)); var server = app.listen(config.port, function() { @@ -21,4 +21,5 @@ exports.session_secret = 'Very safe. Much secret. Wow.'; /** * Path to the static files of the frontend. */ -exports.frontend_path = '../RVS-frontend'; +exports.frontend_path = '../RVS-frontend/app'; +exports.node_modules_path = '../RVS-frontend/node_modules'; |