CORS header Access-Control-Allow-Origin missing

Just read this. Sorry, for not reading the docs first.