feat : update

This commit is contained in:
2026-10-03 14:51:40 +07:00 Unverified
parent 6ceff15e20
commit f5cfe0a22e
36 changed files with 47 additions and 70 deletions
@@ -14,7 +14,7 @@ export default async function GuidePreviewPage({
params: Promise<{ character: string; page?: string[] }>;
}) {
await connection();
if (!(await getAdminSession())) redirect("/login?next=%2Fadmin");
if (!(await getAdminSession())) redirect("/auth/login?next=%2Fadmin");
const { character, page } = await params;
if (page && page.length > 1) notFound();
const header = await getGuideEditorHeader(character);