Setting FIRECRAWL_API_URL or --api-url to https://api.firecrawl.dev/ makes the CLI treat the official cloud API as a custom server.
The trailing slash changes several auth decisions:
isKeylessMode() returns false
- cloud API-key validation is skipped
- scrape and search use the authenticated SDK path without a key
https://api.firecrawl.dev and https://api.firecrawl.dev/ should behave the same.
The comparison in isCustomApiUrl() currently uses the raw string. I’ll normalize trailing slashes before comparing the URL and add coverage for cloud and genuinely custom URLs.
Setting
FIRECRAWL_API_URLor--api-urltohttps://api.firecrawl.dev/makes the CLI treat the official cloud API as a custom server.The trailing slash changes several auth decisions:
isKeylessMode()returnsfalsehttps://api.firecrawl.devandhttps://api.firecrawl.dev/should behave the same.The comparison in
isCustomApiUrl()currently uses the raw string. I’ll normalize trailing slashes before comparing the URL and add coverage for cloud and genuinely custom URLs.