Skip to content

Commit

Permalink
Fix(example): methods cors on restful-tasks edge (#20128)
Browse files Browse the repository at this point in the history
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
  • Loading branch information
yfuks and charislam authored Jan 3, 2024
1 parent 00bbd43 commit 20e8a01
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

3 comments on commit 20e8a01

@vercel
Copy link

@vercel vercel bot commented on 20e8a01 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

studio – ./apps/studio

studio-supabase.vercel.app
supabase-studio.vercel.app
studio-git-master-supabase.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 20e8a01 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

studio-self-hosted – ./apps/studio

studio-self-hosted-git-master-supabase.vercel.app
studio-self-hosted.vercel.app
studio-self-hosted-supabase.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 20e8a01 Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui-storybook – ./packages/ui

ui-storybook-git-master-supabase.vercel.app
ui-storybook-supabase.vercel.app
ui-storybook-pre-release.vercel.app

Please sign in to comment.