【求教】cc.loader.load的跨域问题

0.cocos creator 1.10.2版本
1.
node 设置环境
app.use(express.static("./public"));

const config = {
ip: “127.0.0.1”,
port: 5000
};

app.all(’’, function(req, res, next) {
res.header(“Access-Control-Expose-Headers”, "
");
res.header(“Access-Control-Allow-Origin”, “*”);
res.header(“Access-Control-Allow-Headers”, “X-Requested-With,Content-Type,AccessToken”);
res.header(“Access-Control-Allow-Methods”, “PUT,POST,GET,DELETE,OPTIONS”);
res.header(“X-Powered-By”, ’ 3.2.1’);
res.header(“Content-Type”, “application/json;charset=utf-8”);
if (req.method === “OPTIONS”) res.sendStatus(200); /让options请求快速返回/
else next();
});
2.死活报这个错。头疼 “(index):1 Access to Image at ‘http://localhost:5000/1.png’ from origin ‘http://localhost:7457’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:7457’ is therefore not allowed access.”