Move /sign-in and /checklist to edge runtime

This commit is contained in:
Sam Becker 2023-09-06 18:09:17 -05:00
parent 33ec20d709
commit e7fb05d571
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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();