跨域了
(index):1 Access to fetch at 'https://api.nodeimage.com/api/user/status' from origin 'https://www.nodeimage.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
api.nodeimage.com/api/user/status:1 Failed to load resource: net::ERR_FAILED
(index):1 Access to fetch at 'https://api.nodeimage.com/api/images?page=1&limit=1' from origin 'https://www.nodeimage.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
api.nodeimage.com/api/images?page=1&limit=1:1 Failed to load resource: net::ERR_FAILED
(index):1 Access to fetch at 'https://api.nodeimage.com/api/auth/verify' from origin 'https://www.nodeimage.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
main-jMdVFP45.js:1 POST https://api.nodeimage.com/api/auth/verify net::ERR_FAILED
handleAuthMessage @ main-jMdVFP45.js:1
<computed> @ main-jMdVFP45.js:1
说明 https://api.nodeimage.com 被cf盾拦截了,你在浏览器手动打开一下这个域名,过了盾就可以
正常情况下,http头的CORS policy会允许跨域访问,但出现cf盾时,http头会缺少CORS policy信息,导致浏览器拦截
@mx1990 #1 好吧。。
@xxderek #2 如果是一直出现Login with NodeSeek Connect的页面,不要重复尝试登陆,可能会触发限制
https://www.nodeseek.com/post-769031-1