1
0
mirror of https://github.com/Lissy93/dashy.git synced 2025-04-08 17:06:18 +02:00

Makes the routing mode user-configurable

This commit is contained in:
Alicia Sykes 2021-10-16 19:06:08 +01:00
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({