mirror of
https://github.com/BrenBroZAYT/dashy.git
synced 2026-06-15 08:15:37 +00:00
✨ Makes the routing mode user-configurable
This commit is contained in:
+1
-1
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user