UI: переход на history-router без # и короткие ссылки тредов

This commit is contained in:
AidarKC
2026-05-19 10:15:15 +03:00
parent 3a0899bcfe
commit db2d9a666b
9 changed files with 61 additions and 28 deletions
+2 -1
View File
@@ -184,7 +184,8 @@ function openDeveloperAvatarUploadModal({ walletLogin, storagePwd, gateway } = {
async function forceUiUpdateNow() {
try {
window.location.hash = '#/settings-view';
window.history.replaceState({}, '', '/settings-view');
window.dispatchEvent(new PopStateEvent('popstate'));
} catch {}
if (!('serviceWorker' in navigator)) {
window.location.reload();