VercelIntegration.utils.ts9 lines · main
| 1 | export function isVercelUrl(url: string): boolean { |
| 2 | try { |
| 3 | const u = new URL(url) |
| 4 | return u.protocol === 'https:' && u.hostname === 'vercel.com' |
| 5 | } catch { |
| 6 | // If the URL is invalid, return false |
| 7 | return false |
| 8 | } |
| 9 | } |