From e565522b078c9396dede7815845d05731499d643 Mon Sep 17 00:00:00 2001 From: Yannis Barlas <yannisbarlas@gmail.com> Date: Mon, 23 Nov 2020 21:35:06 +0200 Subject: [PATCH] fix(server): serve static folder from server --- src/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.js b/src/app.js index 960c7ff..092e8c8 100644 --- a/src/app.js +++ b/src/app.js @@ -48,6 +48,7 @@ const configureApp = app => { app.use(cookieParser()) app.use(helmet()) app.use(express.static(path.resolve('.', '_build'))) + app.use(express.static(path.resolve('.', 'static'))) if (config.has('pubsweet-server.uploads')) { app.use( -- GitLab