这是我的ionic.project,允许我在研究后发现的跨源请求
{
"name": "AppName",
"app_id": "",
"proxies": [
{
"path": "/path",
"proxyUrl": "http://www.url.com/path"
}
]
}
当我在我的cmd终端上运行离子服务时,它会启动浏览器并在控制台上显示
XMLHttpRequest cannot load http://www.url.com/Token. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access.
可能出现什么问题?