BookStore-Frontend
BookStore-Frontend copied to clipboard
[Attention] The api doesn't work when requesting with a proxy
When I was using the system proxy of clash, I found the api given not work. [reproduction]: open the api-doc of swagger, in "Login" api, click "try it out" and modify the request body like { "username": "***", [your username] "password": "***", [your password] } It responses with a timeout exceeded and {ok: false, message:"登录失败!"} and close the proxy, it works
I waste 20 minute to find this. So I post this issue and hope others can avoid this problem.
The backend server currently deployed is only accessible through the campus network. Therefore, if you use the Clash proxy, you won't be able to access it.