From fe81e1389dbd5bd21f6d68fac347d9ef12a5cd48 Mon Sep 17 00:00:00 2001 From: Christopher Monsanto Date: Sat, 7 Oct 2023 08:22:30 -0400 Subject: [PATCH] Replays: don't add hash to tags --- replays/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/replays/build b/replays/build index e60cbc42f..b58d8a99e 100755 --- a/replays/build +++ b/replays/build @@ -15,7 +15,8 @@ function updateIndex() { // add hashes to js and css files process.stdout.write("Updating hashes... "); - indexContents = indexContents.replace(/(src|href)="\/(.*?)(\?[a-z0-9]*?)?"/g, runReplace); + // Check for ]+?src|]+?href|]+?src)="\/(.*?)(\?[a-z0-9]*?)?"/g, runReplace); console.log("DONE"); process.stdout.write("Writing new `wrapper.inc.php` file... ");