okisdev / ChatChat

Chat Chat, your own unified chat and search to AI platform, with a simple and easy to use interface.
https://chat.okisdev.com
GNU Affero General Public License v3.0
1.17k stars 215 forks source link

Error with 405 status code after Vercel Deploy #167

Closed GabrielRoc closed 7 months ago

GabrielRoc commented 11 months ago

https://chat.gabrielrocha.tech/

after deploying to vercel the api endpoints are returning 405 making it impossible to use

okisdev commented 11 months ago

Hi there, I have tried your deployment. However, it works for me. Could you double-check your config, your keys and your internet connections?

https://github.com/okisdev/ChatChat/assets/66008528/cbfcbd80-07ff-404c-8629-ffac49616d2a

GabrielRoc commented 11 months ago

The problem is happening when making POST type requests in the registration part with email. Variables are set correctly

image

image

Please try the registration part of my deploy

okisdev commented 11 months ago

Okay. You can pull the latest code, and try it again, it should be fixed now.

GabrielRoc commented 11 months ago

I synced my fork with yours and re-deployed but that didn't fix the problem, the POSTs persist with 405

okisdev commented 11 months ago

Sorry for the unexpected behaviour, try v0.0.37 again, it should be fixed properly.