diff --git a/docs/index.html b/docs/index.html index e3660285..4c937d72 100644 --- a/docs/index.html +++ b/docs/index.html @@ -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', diff --git a/scripts/build.js b/scripts/build.js index 3f2b525c..517ea1f4 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -87,6 +87,7 @@ try { logPrefix: '[shoelace]', logFileChanges: true, notify: false, + single: true, server: { baseDir: 'docs', routes: {