about under attack mode

i have enabled the under attack mode but my api is giving cors error
i have a site called "domain.com" and my api is "api.domain.com"
Was this page helpful?
about under attack mode - Cloudflare Developers