我想使用webPRNT与TSP654II,但看起来像chrome较新的版本阻止这种类型的通信...我发现一个标志开关,它禁用,但没有发生任何事情。
谷歌浏览器版本:100.0.4896.60
Access to XMLHttpRequest at 'https://192.168.0.100/StarWebPRNT/SendMessage' from origin
'https://example.com' has been blocked by CORS policy: Response to preflight request doesn't
pass access control check: No 'Access-Control-Allow-Private-Network' header was present in the
preflight response for this private network request targeting the `private` address space.
知道怎么解决这个问题吗?
1条答案
按热度按时间dsekswqp1#
chrome://flags/#阻止不安全的专用网络请求
在浏览器中打开上面的链接,然后在chrome中禁用此标志