提交代码,有个跨域的问题,怎么解决?
Access to XMLHttpRequest at 'https://program.imooc.com/api/run' from origin 'https://www.imooc.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'https://program.imooc.com/api/run' from origin 'https://www.imooc.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
2022-05-17
举报