Chrome无法访问访问https://jsonplaceholder.typicode.com/users,但是Safari可以正常显示
来源:4-5 【副作用钩子】使用useEffect异步获取数据

Zhang_Kyra
2021-06-23
Request URL: https://jsonplaceholder.typicode.com/users
Referrer Policy: strict-origin-when-cross-origin
百度上说strict-origin-when-cross-origin是Chrome 新的默认策略,不知道是不是因为这个导致无法访问。但是我在课程开始是可以,现在访问失败。期间没有升级过Chrome.
请问老师用的什么浏览器?
写回答
1回答
-
阿莱克斯刘
2021-06-25
hello 同学你好,我用的浏览器是最新版本的chrom,访问正常。也测试了edge和firefox,也是正常的,以下是我浏览器的截图
00
相似问题
图片无法显示
回答 4