Fix(example): methods cors on restful-tasks edge (#20128)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user