Actualizar supabase/functions/create-chat-conversation/lib/cors.ts
This commit is contained in:
@@ -2,7 +2,7 @@ export const corsHeaders: Record<string, string> = {
|
|||||||
"access-control-allow-origin": "*",
|
"access-control-allow-origin": "*",
|
||||||
"Access-Control-Allow-Headers":
|
"Access-Control-Allow-Headers":
|
||||||
"authorization, x-client-info, apikey, content-type, x-supabase-client-platform",
|
"authorization, x-client-info, apikey, content-type, x-supabase-client-platform",
|
||||||
"access-control-allow-methods": "GET,POST,OPTIONS",
|
"access-control-allow-methods": "GET,POST,OPTIONS,DELETE",
|
||||||
};
|
};
|
||||||
|
|
||||||
export function withCors(res: Response) {
|
export function withCors(res: Response) {
|
||||||
|
|||||||
Reference in New Issue
Block a user