Skip to content

Commit

Permalink
CORS error for Gym Graph on Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashank999 committed Jun 15, 2024
1 parent e4ae697 commit b96976d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion extension/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"fixes": [
{ "message": "Fixed Trade Open Chat.", "contributor": "TheFoxMan" },
{ "message": "Fixed no notifications.", "contributor": "TheFoxMan" },
{ "message": "Show days(if present) in popup for Jail and Hospital status.", "contributor": "TheFoxMan" }
{ "message": "Show days(if present) in popup for Jail and Hospital status.", "contributor": "TheFoxMan" },
{ "message": "CORS error for Gym Graph on Firefox.", "contributor": "TheFoxMan" }
],
"changes": [],
"removed": []
Expand Down
2 changes: 1 addition & 1 deletion extension/scripts/features/gym-graph/ttGymGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
button.setAttribute("disabled", "");
showLoadingPlaceholder(responseElement, true);

const { message, status } = await fetchData(FETCH_PLATFORMS.tornstats, { section: "battlestats/record" })
const { message, status } = await fetchData(FETCH_PLATFORMS.tornstats, { section: "battlestats/record", relay: true })
.then((response) => {
if (!response.status) {
let message = response.message;
Expand Down

0 comments on commit b96976d

Please sign in to comment.