您好,我正在尝试使用WordPress网站上http://nominatim.openstreetmap.org/searchformat=json&q=从地址获取详细信息,以便在传单地图上设置标记,只要我以管理员身份登录,它就能正常工作,但当我不是管理员时,我会收到此错误 Access to XMLHttpRequest at 'http://nominatim.openstreetmap.org
当URL已经在Access-Control-Allow-Origin头中时,我为什么要得到这个错误!?XMLHttpRequest cannot load http://cdn.localhost/data/voucher/16_ead32751b66fd6c7856b7db0e186574df37a7d08.pdf. Origin http://secure.localhost is not allowed by Access-Control-Allow-Origin.htac