diff options
| author | seth <[email protected]> | 2023-11-12 02:26:06 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-12 02:26:06 -0500 |
| commit | 7a6fccc7b858b5497858913befb1facbe83510f2 (patch) | |
| tree | a53b32756e5cfa47592d5ccfa6229ac4ab0615b5 /build.ts | |
| parent | 494428aa261269bc0cf55ec1339be1c96613fd9d (diff) | |
fix: use replaceAll()
i hate javascript
Diffstat (limited to 'build.ts')
| -rw-r--r-- | build.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"), }; |
