Skip to content

Commit

Permalink
don't use hash routing in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Aug 24, 2021
1 parent d7dd4b8 commit c173d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ try {
logPrefix: '[shoelace]',
logFileChanges: true,
notify: false,
single: true,
server: {
baseDir: 'docs',
routes: {
Expand Down

0 comments on commit c173d0d

Please sign in to comment.