diff --git a/main.js b/main.js index 0a81e91..d81a357 100644 --- a/main.js +++ b/main.js @@ -1082,7 +1082,7 @@ if (exit) { localStorage.removeItem(localStorageItems.REDIRECT_EXIT) - window.location.href = "https://rst.runcity.org/msk2025/cp_mgmt/" + location.href = location.href.replace(location.search, '') return } @@ -1090,7 +1090,7 @@ localStorage.setItem(localStorageItems.PREV_CREATED, justCreated) localStorage.removeItem(localStorageItems.JUST_CREATED) - window.location.href = "https://rst.runcity.org/msk2025/cp_mgmt/?action=edit" + location.href = location.href.replace(location.search, "?action=edit") return } if (prevCreated !== null) {