supabase icon indicating copy to clipboard operation
supabase copied to clipboard

Deploy with vercel create a 405 error

Open ArthurDanjou opened this issue 1 year ago • 1 comments

Version

@nuxtjs/supabase: 0.3.5 nuxt: 3.4.2

Reproduction Link

https://github.com/ArthurDanjou/artdanj-website-v2 and live demo here

Steps to reproduce

Just deploy your application to vercel

What is actually happening?

I have this error: POST https://dev.arthurdanjou.fr/api/_supabase/session 405

As mentioned here, vercel override the /api route, so the supabase route cannot be reach by the nuxt application

ArthurDanjou avatar Apr 25 '23 14:04 ArthurDanjou