diff --git a/src/index.tsx b/src/index.tsx index eba2e75..c4fc99b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -959,7 +959,7 @@ const app = new Elysia({ if (HIDE_HISTORY) { return redirect(`${WEBROOT}/`, 302); } - + if (!auth?.value) { return redirect(`${WEBROOT}/login`, 302); } @@ -1060,8 +1060,7 @@ const app = new Elysia({ {userJobs.map((job) => (