mirror of https://github.com/Lissy93/dashy.git
✨ 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' */
|
||||
const mode = 'history';
|
||||
const mode = appConfig.routingMode || 'history';
|
||||
|
||||
/* List of all routes, props, components and metadata */
|
||||
const router = new Router({
|
||||
|
|
Loading…
Reference in New Issue