Merge branch 'main' of https://github.lci.ulsa.mx/AlexRG/genesis-2
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
export const corsHeaders: Record<string, string> = {
|
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",
|
"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