Trying to make the Access-Control-Allow-Origin more flexible.