Vue axios requests that the api address of Douban can be obtained normally in the development environment, but it is packaged and put into the CVM only to report 404.

localhost:8080

clipboard.png

npm run builddist

index.js

clipboard.png

clipboard.png

clipboard.png

what is the reason, please?

Mar.14,2021

the server acts as a reverse proxy, which is likely to be a cross-domain problem

Menu