From 2d8f2593f04bf856c8b33240376f8e19504ff6a6 Mon Sep 17 00:00:00 2001 From: Ruslan Gainutdinov Date: Sun, 17 May 2020 23:22:42 +0300 Subject: [PATCH] Remove hardcoded IP address if any --- tools/cdata.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cdata.js b/tools/cdata.js index afcebcf94..1f842f6a3 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -291,7 +291,8 @@ writeChunks( prepend: "=====(", append: ")=====", method: "plaintext", - filter: "html-minify" + filter: "html-minify", + mangle: str => str.replace(/fetch\("http\:\/\/.*\/win/gms, "fetch(\"/win") }, { file: "msg.htm",