Move /sign-in and /checklist to edge runtime
This commit is contained in:
parent
33ec20d709
commit
e7fb05d571
@ -2,6 +2,8 @@ import InfoBlock from '@/components/InfoBlock';
|
|||||||
import SiteGrid from '@/components/SiteGrid';
|
import SiteGrid from '@/components/SiteGrid';
|
||||||
import SiteChecklist from '@/site/SiteChecklist';
|
import SiteChecklist from '@/site/SiteChecklist';
|
||||||
|
|
||||||
|
export const runtime = 'edge';
|
||||||
|
|
||||||
export default async function ChecklistPage() {
|
export default async function ChecklistPage() {
|
||||||
return (
|
return (
|
||||||
<SiteGrid
|
<SiteGrid
|
||||||
|
|||||||
@ -3,6 +3,8 @@ import SignInForm from '@/auth/SignInForm';
|
|||||||
import { cc } from '@/utility/css';
|
import { cc } from '@/utility/css';
|
||||||
import { redirect } from 'next/navigation';
|
import { redirect } from 'next/navigation';
|
||||||
|
|
||||||
|
export const runtime = 'edge';
|
||||||
|
|
||||||
export default async function SignInPage() {
|
export default async function SignInPage() {
|
||||||
const session = await auth();
|
const session = await auth();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user