我们正在使用puppeteer,有时使用playwright来运行一些集成测试。我们模拟一些目标页面的脚本依赖项,这会导致subresource integrity散列不匹配。 Failed to find a valid digest in the 'integrity' attribute for resource 'http://localhost:3000/static/third-party/adobe-target/at-js/2.4.0-cname/at.js' with computed SHA-256 integrity '47DEQ
myapp/posts') .subscribe( (data:any[]) => { console.log(data) } )
但我发现一个错误XMLHttpRequest at 'http://127.0.0.1:8000/myapp/posts' from origin 'http://localhost:4200' has been blocked by CORSHtt