Today open Chrome browser, local development link suddenly error.
Access to script at 'http://localhost:8001/xxx.js' from origin 'http://xxx.xxx.xxxx.com' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space
local.
An error has been reported that my local files are being blocked due to cross-domain security. Let’s change the configuration of Chrome for local debugging.
Open a new web page, enter chrome://flags/#block-insecure-private-network-requests
Reboot your browser and the problem is solved.