Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:sparkles: Makes the routing mode user-configurable

Alicia Sykes85b0fbebd372
diff --git a/src/router.js b/src/router.js
index d7ddd0ce..5b0d1ad7 100644
--- a/src/router.js
+++ b/src/router.js
@@ -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({