Skip to content

Commit

Permalink
fix: change quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
admon84 committed Aug 10, 2024
1 parent eada626 commit 72ec2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clientApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72ec2b5

Please sign in to comment.