feat : update
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ export const instant = false;
|
||||
|
||||
export default async function AdminPage() {
|
||||
await connection();
|
||||
if (!(await getAdminSession())) redirect("/admin/login");
|
||||
if (!(await getAdminSession())) redirect("/login?next=%2Fadmin");
|
||||
const [guides, trash, catalogVersion] = await Promise.all([
|
||||
listGuideCards(),
|
||||
listGuideCards(true),
|
||||
|
||||
Reference in New Issue
Block a user