Alasdair Smith 8 лет назад
Родитель
Сommit
db16fad6c9
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      services/web/app/coffee/infrastructure/ExpressLocals.coffee

+ 2 - 1
services/web/app/coffee/infrastructure/ExpressLocals.coffee

@@ -335,5 +335,6 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
 		next()
 
 	webRouter.use (req, res, next) ->
-		res.locals.exposedSettings =
+		res.locals.ExposedSettings =
 			isOverleaf: Settings.overleaf?
+		next()