Skip to content

Commit

Permalink
Merge pull request #4 from Sinevia/patch-2
Browse files Browse the repository at this point in the history
Update web.js
  • Loading branch information
lesichkovm authored Oct 9, 2022
2 parents bed9397 + bb557b7 commit 3987846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Config() {
: API_ID;
};
this.getRootUrl = function () {
return typeof WEBSITE_ID == "undefined"
return typeof WEBSITE_URL == "undefined"
? window.location.protocol +
"//" +
window.location.hostname +
Expand Down

0 comments on commit 3987846

Please sign in to comment.