Files
flyer-crawler.projectium.com/supabase/functions/_shared/cors.ts

7 lines
304 B
TypeScript

// This file provides shared CORS headers for Supabase Edge Functions.
// It allows the web application to securely call these backend functions.
export const corsHeaders = {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
};