Home / Function/ isVercelUrl() — supabase Function Reference

isVercelUrl() — supabase Function Reference

Architecture documentation for the isVercelUrl() function in VercelIntegration.utils.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Integrations/Vercel/VercelIntegration.utils.ts lines 1–8

export function isVercelUrl(url: string): boolean {
  try {
    return new URL(url).hostname === 'vercel.com'
  } catch {
    // If the URL is invalid, return false
    return false
  }
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free