Added method "option" with CORS headers.