mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
don't use hash routing in dev
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -87,6 +87,7 @@ try {
|
||||
logPrefix: '[shoelace]',
|
||||
logFileChanges: true,
|
||||
notify: false,
|
||||
single: true,
|
||||
server: {
|
||||
baseDir: 'docs',
|
||||
routes: {
|
||||
|
||||
Reference in New Issue
Block a user