Uploaded assets blocked by CORS, no `Access-Control-Allow-Origin` header

Same problem here.

I used the solution described here to solve it.

app.use(function(req, res, next) {
  res.header("Access-Control-Allow-Origin", "*");
  res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
  next();
});