Skip to content

Commit bf80d65

Browse files
committed
fix path
1 parent bf34eb6 commit bf80d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const [flattenedPages, pagePaths] = flattenDocs(docs);
2525
const allRoutes = flattenedPages.map((page) => page.route);
2626
registerRoutes(allRoutes);
2727

28-
const app = new Hono().basePath(import.meta.env.DEV ? "/docs" : "/");
28+
const app = new Hono().basePath(import.meta.env.DEV ? basePath : "/");
2929
app.use(appendTrailingSlash());
3030
app.use(trimTrailingSlash());
3131

0 commit comments

Comments
 (0)