Fix and improved hasher routing

This commit is contained in:
the-djmaze 2022-03-03 16:28:05 +01:00
parent 06e2dc722d
commit fafe56ecb4
16 changed files with 41 additions and 83 deletions

View file

@ -2,7 +2,6 @@ import { pString, pInt } from 'Common/Utils';
import { Settings } from 'Common/Globals';
const
ROOT = './',
HASH_PREFIX = '#/',
SERVER_PREFIX = './?',
VERSION = Settings.app('version'),
@ -24,7 +23,7 @@ export const
/**
* @returns {string}
*/
logoutLink = () => adminPath() ? prefix() : ROOT,
logoutLink = () => adminPath() ? prefix() : './',
/**
* @param {string} type