Skip to content
Snippets Groups Projects
Commit b2b1a285 authored by Jure's avatar Jure
Browse files

Merge branch 'sse-in-locals' into 'master'

Expose SSE through-out the app

See merge request pubsweet/pubsweet!54
parents d049e350 e9e1fe32
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,8 @@ const configureApp = app => { ...@@ -59,6 +59,8 @@ const configureApp = app => {
) )
} }
app.locals.sse = sse
// Serve the index page for front end // Serve the index page for front end
app.use('/manage', index) app.use('/manage', index)
app.use('/', index) app.use('/', index)
......
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