Add automatic CORS setup