Error api _supabase session 405 in Nuxt3
I have an error when i try to sign in with google in my app, when i already logged into my google account and i go back to my app with redirect, in browser console i get this error:
POST https://mydomain.dev/api/_supabase/session 405
Uncaught (in promise) FetchError: 405 (/api/_supabase/session)
at async Object.callback (entry.af57154f.js:5:118018)
This only happens when I build my app and deploy it to Cloudflare Page or Netlify, everething works fine locally.
The plugin that I'm using is @nuxtjs/supabase 3.0.0 and the Nuxt version is 3.0.0 stable
POST https://mydomain.dev/api/_supabase/session 405
Uncaught (in promise) FetchError: 405 (/api/_supabase/session)
at async Object.callback (entry.af57154f.js:5:118018)
This only happens when I build my app and deploy it to Cloudflare Page or Netlify, everething works fine locally.
The plugin that I'm using is @nuxtjs/supabase 3.0.0 and the Nuxt version is 3.0.0 stable