mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Fix and improved hasher routing
This commit is contained in:
parent
06e2dc722d
commit
fafe56ecb4
16 changed files with 41 additions and 83 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue