supabase icon indicating copy to clipboard operation
supabase copied to clipboard

deploying on netlify env variable SUPABASE_URL is missing on production build

Open sanba-anass opened this issue 2 years ago • 2 comments

can u show me how to deploy it netlify i did deploy two it on render.com and vercel and all is working perfectly . but when i deploy on netlify the url is broken with 500 error saying that the supabase_url is required

sanba-anass avatar Sep 04 '23 13:09 sanba-anass

Did you create the SUPABASE_URL env in the netlify configuration?

envs

rafael-lua avatar Oct 12 '23 00:10 rafael-lua

we had the same issue (but running it via docker, not netlify) and the fix was to prefix the env with NUXT_PUBLIC_ e.g. NUXT_PUBLIC_SUPABASE_URL (except the service key which is just NUXT_...)

Flambe avatar Jun 25 '24 12:06 Flambe