(url: string)
| 245 | * Check if URL points to a JSON manifest file. |
| 246 | */ |
| 247 | export function isManifestUrl(url: string): boolean { |
| 248 | try { |
| 249 | const pathname = new URL(url).pathname.toLowerCase(); |
| 250 | return pathname.endsWith('.json'); |
| 251 | } catch { |
| 252 | return false; |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | /** |
| 257 | * Enhanced error classification with cloud provider-specific CORS messages. |
no outgoing calls
no test coverage detected