As soon as the backend node agent is turned on (cross-domain data acquisition), the front end will appear cant get XXX as soon as it is refreshed.

this occurs as soon as the background of node is opened and the front end is refreshed.

clipboard.png

node:



clipboard.png

in this case, it is OK to turn off node before refreshing. The agent has successfully obtained the data. I opened the front end first, and then the node, front end will load this data, but as soon as the front end is refreshed, the Cannot Get XXX (front end will be routed.

as above, what"s going on? (the front scaffolding is create-react-app, with both front and rear ports of 3000)


2 ports will have conflicts

Menu