feat : update

This commit is contained in:
2026-10-03 00:56:31 +07:00 Unverified
parent f71c00d2ab
commit f23b69a280
36 changed files with 766 additions and 376 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export default async function AuditLogPage({
searchParams: Promise<Record<string, string | string[] | undefined>>;
}) {
await connection();
if (!(await getAdminSession())) redirect("/admin/login");
if (!(await getAdminSession())) redirect("/login?next=%2Fadmin");
const query = await searchParams;
const rawPage = Array.isArray(query.page) ? query.page[0] : query.page;