Important Fixes, New mechanics, and many more
Some checks failed
CI / validate (push) Failing after 9m21s

This commit is contained in:
2026-08-15 17:37:57 +05:00
parent 1774496cf9
commit 438e5af0ad
56 changed files with 5090 additions and 119 deletions

View File

@@ -15,4 +15,10 @@ export function assertRequiredSupabaseConfig(config: unknown): void {
const details = result.error.issues.map(issue => issue.message).join('; ')
throw new Error(`Invalid Supabase runtime configuration: ${details}`)
}
const serverOrigin = new URL(result.data.supabaseUrl).origin
const publicOrigin = new URL(result.data.public.supabaseUrl).origin
if (serverOrigin !== publicOrigin) {
throw new Error('Invalid Supabase runtime configuration: SUPABASE_URL and NUXT_PUBLIC_SUPABASE_URL must point to the same project')
}
}