mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 15:41:00 +00:00
Fix opts not passed to buildJsPath
This commit is contained in:
parent
4d79c68f41
commit
2e0804c728
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
|
|||
path = Path.join(jsPath, jsFile)
|
||||
return "#{Settings.webpack.host}:#{Settings.webpack.port}/public#{path}"
|
||||
else
|
||||
return res.locals.buildJsPath(jsFile)
|
||||
return res.locals.buildJsPath(jsFile, opts)
|
||||
|
||||
res.locals.buildCssPath = (cssFile, opts)->
|
||||
path = Path.join("/stylesheets/", cssFile)
|
||||
|
|
Loading…
Reference in a new issue