micro-app icon indicating copy to clipboard operation
micro-app copied to clipboard

micro-app + react + umi,开发环境如何解决跨域问题

Open s269071276 opened this issue 1 year ago • 1 comments

Access to fetch at 'http://192.168.1.4:3900/umi.dll.js' from origin 'http://localhost:7000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

s269071276 avatar Mar 15 '24 07:03 s269071276

需要看看子应用使用的框架的文档了,这里看起来是要去搜索 umi dev 环境跨域 如何设置。

tinymins avatar Mar 15 '24 10:03 tinymins