From 7d28c74b96983179a63ef535d49e9fd08eb04cbb Mon Sep 17 00:00:00 2001 From: Zhora Shalyapin Date: Thu, 27 Feb 2025 10:35:51 +0000 Subject: [PATCH] auto generated links --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {