mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Fix opts not passed to buildJsPath
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user