From e9ba73138e906ec566debc1698f798bdd88a366f Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Fri, 16 Mar 2018 11:15:09 +0000 Subject: [PATCH] Fix webpack config so that it's more consistent --- 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 99f8f67296..490dd82348 100644 --- a/services/web/app/coffee/infrastructure/ExpressLocals.coffee +++ b/services/web/app/coffee/infrastructure/ExpressLocals.coffee @@ -150,7 +150,7 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)-> res.locals.buildWebpackPath = (jsFile, opts = {}) -> if Settings.webpack? and !Settings.useMinifiedJs path = Path.join(jsPath, jsFile) - return "#{Settings.webpack.host}:#{Settings.webpack.port}/public#{path}" + return "#{Settings.webpack.url}/public#{path}" else return res.locals.buildJsPath(jsFile, opts)