SupabaseS
Supabase12mo ago
rg5082

Hi all. Newbie looking for some (very basic) advice.

I've been working with the Lovable.dev AI to develop an app, and have a few minutes ago published the first alpha-ish MVP. Testing it out in the wild, I've found some things that need changing. Going back to Lovable, I get a Supabase error message, which, Lovable tells me "is related to CORS (Cross-Origin Resource Sharing) settings in your Supabase project. When you published the site, the domain changed from your local development server to lovableproject.com, but this new domain isn't allowed to make requests to your Supabase backend.

"To fix this, you need to add your production domain to the allowed origins in your Supabase project settings. Here's what you should do:

"Go to your Supabase project settings Navigate to the API settings section Find the "Additional Allowed Origins" section Add [projectname].lovableproject.com to the list"

The Supabase Help AI tells me the same thing, but I can't find anything remotely like that in the API settings section.

Unfortunately, I can't find any way to find that "Additional Allowed Origins" section. I assume that the section has been changed/moved/renamed or whatever. Can anyone point me in the right direction?
Was this page helpful?