Skip to content

Commit

Permalink
debugged preset url
Browse files Browse the repository at this point in the history
  • Loading branch information
IPdotSetAF committed Apr 12, 2024
1 parent 0002182 commit 3ab94ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ window.onload = function () {
if (params.get(key) === value)
params.delete(key);
});
debugger;
return window.location.protocol + "//" + window.location.host +"/"+window.location.pathname+ "/?" + params.toString();

return window.location.origin + window.location.pathname + "?" + params.toString();
}

function copyToClipboard(text) {
Expand Down

0 comments on commit 3ab94ab

Please sign in to comment.