From f021f21f11c3c5049a555fc84edb70f71a3733ad Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Wed, 13 Dec 2017 16:37:51 +0000 Subject: [PATCH] only hash when minified --- services/web/app/views/layout.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/layout.pug b/services/web/app/views/layout.pug index 0220a5af71..f32e90a6ed 100644 --- a/services/web/app/views/layout.pug +++ b/services/web/app/views/layout.pug @@ -143,7 +143,7 @@ html(itemscope, itemtype='http://schema.org/Product') "paths" : { "moment": "libs/#{lib('moment')}", "fineuploader": "libs/#{lib('fineuploader')}", - "main": "#{buildJsPath('main.js', {hashedPath:true, fingerprint:false, removeExtension:true})}" + "main": "#{buildJsPath('main.js', {hashedPath:settings.useMinifiedJs, fingerprint:false, removeExtension:true})}", }, "config":{ "moment":{