mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
3553fb2d9d
Fix spelling of "middleware" GitOrigin-RevId: d2b2b20ad8a6871cd6366303e75b340f0f2f2dda
9 lines
223 B
CoffeeScript
9 lines
223 B
CoffeeScript
settings = require("settings-sharelatex")
|
|
logger = require("logger-sharelatex")
|
|
|
|
|
|
module.exports =
|
|
saveTemplateDataInSession: (req, res, next)->
|
|
if req.query.templateName
|
|
req.session.templateData = req.query
|
|
next()
|