Skip to content
Snippets Groups Projects
Commit e565522b authored by Yannis Barlas's avatar Yannis Barlas
Browse files

fix(server): serve static folder from server

parent e35de75f
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment