diff --git a/index.js b/index.js index 8e1ea11..4910ca9 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ const currentUrl = window.location.href -var url = new URL(url_string); +var url = new URL(currentUrl); var c = url.searchParams.get("url"); window.location.href = (c) \ No newline at end of file