import { headers } from 'next/headers'; export const runtime = 'edge'; export default async function AuthorizationPage() { const headersList = headers(); const access = headersList.get('x-shop-access'); if (!access) { console.log('ERROR: No access header'); throw new Error('No access header'); } console.log('Authorize Access code header:', access); if (access === 'denied') { console.log('Access Denied for Auth'); throw new Error('No access allowed'); } return ( <>