Actually made cors_enabled compliant