mongoose中http server服务器解决“Access-Control-Allow-Origin mongoose”跨域问题
问题使用mongoose做http服务器,自己构造的浏览器端jquery在访问server时,会遇到:AccesstoXMLHttpRequestat'http://127.0.0.1:8000/'fromorigin'null'hasbeenblockedbyCORSpolicy:No'Access-Control-Allow-Origin'headerispresentontherequest