WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.45k stars 321 forks source link

fix: fetch error status code #237

Closed xiaowen581 closed 1 year ago

xiaowen581 commented 1 year ago

Currently, the front can not show the correct error message when signin/signup/reset password fails(reset password is not tested), It seems that the status is [undefined] when fetch comes with some error. Haven't fix the same code in composables\fetch.js because have few time to test it. :)