mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 02:31:13 -05:00
Updated edge functions to include traceparent and x-request-id in Access-Control-Allow-Headers for: - supabase/functions/process-selective-approval/cors.ts - supabase/functions/process-selective-rejection/cors.ts This fixes CORS preflight and allows POST requests to reach edge functions.
5 lines
185 B
TypeScript
5 lines
185 B
TypeScript
export const corsHeaders = {
|
|
'Access-Control-Allow-Origin': '*',
|
|
'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type, traceparent, x-request-id',
|
|
};
|