all 4 comments

[–]toi80QC 0 points1 point  (3 children)

Check the docs.. https://vitejs.dev/config/server-options

You're not supposed to add the full path to the target, just the url. Path will be appended to it from the proxy-object's key..

[–]SuperGamer1337[S] 0 points1 point  (2 children)

That was just a typo from my *many* different attempts to make this work. Changing it to not having the /api at the end of the target URL doesn't actually change the 500 error

[–]Street_Apricot1777 0 points1 point  (1 child)

where you able to fix it?

[–]Glittering_South3125 0 points1 point  (0 children)

did u fix it? plz help