From 7a6fccc7b858b5497858913befb1facbe83510f2 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 12 Nov 2023 02:26:06 -0500 Subject: fix: use replaceAll() i hate javascript --- build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ts b/build.ts index f399999..3605b42 100644 --- a/build.ts +++ b/build.ts @@ -31,7 +31,7 @@ for (const f of wies) { } const define = { - WIES: JSON.stringify(wies.map((wie) => wie.replace(" ", "%20"))), + WIES: JSON.stringify(wies.map((wie) => wie.replaceAll(" ", "%20"))), WIE_DIR: JSON.stringify("static/teawie"), }; -- cgit v1.2.3