Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Oct 15, 2024
1 parent 4a3ef74 commit b8b671c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,10 @@ setShowCountryButtons(false)
if(!country && mapSlug !== gameOptions.location) {
if( ((window?.lastPlayTrack||0) + 20000 < Date.now())) {

fetch(config.apiUrl+`/mapPlay/${mapSlug}`, {method: "POST"})
try {
fetch(clientConfig()?.apiUrl+`/mapPlay/${mapSlug}`, {method: "POST"})
} catch(e) {}

}

try {
Expand Down

0 comments on commit b8b671c

Please sign in to comment.