make ready for vercel

This commit is contained in:
2025-09-27 15:12:36 +02:00
parent 806fb925f0
commit 925e7163b6
4 changed files with 6 additions and 6 deletions

View File

@@ -13,9 +13,9 @@ export const handle: Handle = async ({ event, resolve }) => {
!origin ||
origin.includes('localhost') ||
origin.includes('127.0.0.1') ||
origin.includes('demo.ziasvannes.tech')
origin.includes('serengo.ziasvannes.tech')
) {
// Allow in development and demo
// Allow in development and serengo.ziasvannes.tech
}
// In production, you would add: else if (origin !== 'yourdomain.com') { return new Response('Forbidden', { status: 403 }); }
}