don't use hash routing in dev

This commit is contained in:
Cory LaViska
2021-08-24 08:49:27 -04:00
parent d7dd4b82da
commit c173d0d76e
2 changed files with 2 additions and 1 deletions

View File

@@ -78,7 +78,7 @@
crossChapter: true,
crossChapterText: false
},
routerMode: location.port ? 'hash' : 'history',
routerMode: 'history',
search: {
maxAge: 86400000, // Expiration time, the default one day
paths: 'auto',

View File

@@ -87,6 +87,7 @@ try {
logPrefix: '[shoelace]',
logFileChanges: true,
notify: false,
single: true,
server: {
baseDir: 'docs',
routes: {