From 2e0804c728005ba4d58c2004690eb0026a0ed3d6 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 15 Mar 2018 12:15:00 +0000 Subject: [PATCH] Fix opts not passed to buildJsPath --- services/web/app/coffee/infrastructure/ExpressLocals.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/infrastructure/ExpressLocals.coffee b/services/web/app/coffee/infrastructure/ExpressLocals.coffee index cf10bf25bb..99f8f67296 100644 --- a/services/web/app/coffee/infrastructure/ExpressLocals.coffee +++ b/services/web/app/coffee/infrastructure/ExpressLocals.coffee @@ -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)