Fix(example): methods cors on restful-tasks edge (#20128)

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
Yoann FuksandCharis authored and GitHub committed 2024-01-03 17:23:36 +00:00
1 parent 00bbd43364
commit 20e8a01563
1 file changed
+1
@@ -7,6 +7,7 @@ import { createClient, SupabaseClient } from 'https://esm.sh/@supabase/supabase-
const corsHeaders = {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey',
'Access-Control-Allow-Methods': 'POST, GET, OPTIONS, PUT, DELETE',
}
interface Task {