don't use hash routing in dev

pull/512/head
Cory LaViska 2021-08-24 08:49:27 -04:00
rodzic d7dd4b82da
commit c173d0d76e
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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',

Wyświetl plik

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