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.
使用nginx进行反向代理,让浏览器感觉是访问同一个地址。