Skip to content

Commit 8211a69

Browse files
authored
Merge pull request #75 from datum-cloud/enable-dev-info
enable dev info
2 parents d048c78 + b90eb3d commit 8211a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const routeGuard: MiddlewareHandler = async ({ url, redirect }, next) => {
1515
if (isProtected(pathName)) {
1616
// only for development mode, to ease testing
1717
if (mode == 'production') {
18-
return redirect(`/`);
18+
// return redirect(`/`);
1919
}
2020
}
2121

0 commit comments

Comments
 (0)