From 72ec2b5125f182de4821eef97315d516d32f06a3 Mon Sep 17 00:00:00 2001 From: admon84 Date: Sat, 10 Aug 2024 17:45:10 -0600 Subject: [PATCH] fix: change quotes --- src/clientApp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clientApp.ts b/src/clientApp.ts index 5be44d3..db2043e 100644 --- a/src/clientApp.ts +++ b/src/clientApp.ts @@ -292,7 +292,7 @@ koa.use(async (context, next) => { if (urlPath.startsWith('app2/main.')) { // Modify getData() to fetch from the correct API path - src = src.replace(/fetch\(t\+"version"\)/g, `fetch(window.CONFIG.API_URL+"version")`); + src = src.replace(/fetch\(t\+"version"\)/g, 'fetch(window.CONFIG.API_URL+"version")'); // Remove fetch to forum RSS feed src = src.replace(/fetch\("https:\/\/screeps\.com\/forum\/.+\.rss"\)/g, 'Promise.resolve()'); // Remove AWS host from rewards URL