From faa0dbdc70114beedac4270423c2191fb6cfb9a2 Mon Sep 17 00:00:00 2001 From: timkim Date: Mon, 14 Nov 2016 15:55:10 -0800 Subject: [PATCH] [#182] - fixed the csp matching an incorrect sequence --- lib/util/injector-transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/injector-transform.js b/lib/util/injector-transform.js index 55f2349..74776d9 100644 --- a/lib/util/injector-transform.js +++ b/lib/util/injector-transform.js @@ -37,7 +37,7 @@ module.exports = function(options) { InjectHTML.prototype._transform = function (chunk, encoding, callback) { // Inject our scripts at the bottom of the body tag var newChunk = chunk.toString().replace(replaceText, replaceText + injectScript + '\n'); - var cspRegex = //i; + var cspRegex = //i; var cspObject, cspString, cspTag; // if we find an existing csp - warn the user about their csp being modified