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
1 changed files with 1 additions and 1 deletions

View File

@ -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({