跨域了
(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://www.nodeseek.com/post-793525-1 · 原帖 ID:793525