nuxt-modules / supabase

Supabase module for Nuxt.
https://supabase.nuxtjs.org
MIT License
733 stars 129 forks source link

deploying on netlify env variable SUPABASE_URL is missing on production build #260

Open sanba-anass opened 1 year ago

sanba-anass commented 1 year ago

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

rafael-lua commented 1 year ago

Did you create the SUPABASE_URL env in the netlify configuration?

envs

Flambe commented 4 months ago

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_...)