mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-31 01:24:42 +02:00
✨ Makes the routing mode user-configurable
This commit is contained in:
parent
1469e4b715
commit
85b0fbebd3
@ -66,7 +66,7 @@ const makeMetaTags = (defaultTitle) => ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
/* Routing mode, can be either 'hash', 'history' or 'abstract' */
|
/* Routing mode, can be either 'hash', 'history' or 'abstract' */
|
||||||
const mode = 'history';
|
const mode = appConfig.routingMode || 'history';
|
||||||
|
|
||||||
/* List of all routes, props, components and metadata */
|
/* List of all routes, props, components and metadata */
|
||||||
const router = new Router({
|
const router = new Router({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user