We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf34eb6 commit bf80d65Copy full SHA for bf80d65
website/src/index.tsx
@@ -25,7 +25,7 @@ const [flattenedPages, pagePaths] = flattenDocs(docs);
25
const allRoutes = flattenedPages.map((page) => page.route);
26
registerRoutes(allRoutes);
27
28
-const app = new Hono().basePath(import.meta.env.DEV ? "/docs" : "/");
+const app = new Hono().basePath(import.meta.env.DEV ? basePath : "/");
29
app.use(appendTrailingSlash());
30
app.use(trimTrailingSlash());
31
0 commit comments