diff --git a/supabase/functions/upload-image/index.ts b/supabase/functions/upload-image/index.ts index a461b82c..ef71c468 100644 --- a/supabase/functions/upload-image/index.ts +++ b/supabase/functions/upload-image/index.ts @@ -3,6 +3,7 @@ import { serve } from "https://deno.land/std@0.168.0/http/server.ts" const corsHeaders = { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type', + 'Access-Control-Allow-Methods': 'GET, POST, DELETE, OPTIONS', } serve(async (req) => {