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, crossChapter: true,
crossChapterText: false crossChapterText: false
}, },
routerMode: location.port ? 'hash' : 'history', routerMode: 'history',
search: { search: {
maxAge: 86400000, // Expiration time, the default one day maxAge: 86400000, // Expiration time, the default one day
paths: 'auto', paths: 'auto',

Wyświetl plik

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