Actualizar supabase/functions/create-chat-conversation/lib/cors.ts
This commit is contained in:
1 parent
21469b3b4c
commit
feaad85fda
1 file changed
+1
-1
@@ -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