summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-30 10:56:37 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-30 10:56:37 +1100
commit022f2ca5aa77cccf5bd7f2cd3aa17cb902842d19 (patch)
tree641324c28f66df0fb60d8a458c0860ed0b07b0c6
parentvarious typos (diff)
downloadserver-022f2ca5aa77cccf5bd7f2cd3aa17cb902842d19.tar.xz
client patcher: discordstatus.com -> status.understars.dev
-rw-r--r--scripts/client.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/client.js b/scripts/client.js

index b76048ba..b31f2fcc 100644 --- a/scripts/client.js +++ b/scripts/client.js
@@ -112,6 +112,7 @@ const doPatch = (content) => { // ) content = content.replaceAll("status.discord.com", "status.understars.dev"); + content = content.replaceAll("discordstatus.com", "status.understars.dev"); content = content.replaceAll( "delete window.localStorage", @@ -167,7 +168,7 @@ const processFile = async (name) => { process.stdout.moveCursor(0, 1); - const CACHE_MISSES = (await fs.readFile(path.join(CACHE_PATH, "..", "cacheMisses"))).toString().split("\n"); + const CACHE_MISSES = (await fs.readFile(path.join(CACHE_PATH, "..", "cacheMisses"))).toString().split("\r").join("").split("\n"); while (CACHE_MISSES.length > 0) { const asset = CACHE_MISSES.shift(); process.stdout.clearLine(0);