Enabling CORS in server.