Hey everyone, I'm connecting my Supabase Edge Function to Lovable (a no-code frontend).
The function returns 200 OK inside Supabase, but my frontend hits CORS preflight errors (400/500) and shows "Missing authorization header" inside the console. It looks like my CORS or authentication configuration might not be handling the Lovable domain correctly. What's the best way to validate or adjust that setup so my frontend can fetch data from the question table?
Looking for guidance on validating CORS configuration and auth headers so Lovable can fetch from 'public.questions'.
Any help appreciated!