Why does webpack report cross-domain errors when agents are configured to cross-domain?

I configure cross-domain configuration in webpack, the project is running normally, and the backend data is also obtained, but why does the browser still report a cross-domain error? obviously, I have fetched the background data and displayed it on the page. On the other hand, why can"t I see any data about the background in the interface of Google browser? Note: to be sure, there is no doubt that the background data has been obtained.

ajaxresponse(jqueryajaxwebpackproxylocalhost)

Feb.19,2022

this is redirect 302, right? Instead of proxy


specific solutions will not be provided in this answer for the time being, but there are two suggestions:

1) what is cross-domain? Why cross domains?
2) proxy of Webpack, and you also need to know the meaning of proxy . Document address: https://webpack.js.org/config.

the master of the building appeases his anger and hopes to study it carefully.


modify your ajax request address, do not bring ip

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdb6ee-3127e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdb6ee-3127e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?