V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
工单节点使用指南
• 请用平和的语言准确描述你所遇到的问题
• 厂商的技术支持和你一样也是有喜怒哀乐的普通人类,尊重是相互的
• 如果是关于 V2EX 本身的问题反馈,请使用 反馈 节点
Lentin
V2EX  ›  全球工单系统

myip.la 的 api 跨域引用报错问题

  •  
  •   Lentin · 2021-12-13 19:47:45 +08:00 · 660 次点击
    这是一个创建于 881 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Access to fetch at 'https://api.myip.la/cn?json' from origin 'https://****' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

    myip.ipip.net 这个 api 正常使用 header 有 Access-Control-Allow-Origin: *
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1083 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:52 · PVG 06:52 · LAX 15:52 · JFK 18:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.