Vite App works fine locally but not when deployed on Vercel (API call returns HTML instead of expected array && TypeError: e.map is not a function.)
I have an app built by Vite (Express&React), it runs well locally but has an API call issue when I deployed it on Vercel.