MCPcopy Index your code
hub / github.com/simstudioai/sim / supabaseBaseUrl

Function supabaseBaseUrl

apps/sim/tools/supabase/utils.ts:8–14  ·  view source on GitHub ↗
(projectId: string)

Source from the content-addressed store, hash-verified

6 * (e.g. `#`, `/`, `@`), preventing SSRF via fragment injection.
7 */
8export function supabaseBaseUrl(projectId: string): string {
9 const result = validateSupabaseProjectId(projectId)
10 if (!result.isValid) {
11 throw new Error(result.error)
12 }
13 return `https://${result.sanitized}.supabase.co`
14}

Callers 15

storage_copy.tsFile · 0.90
storage_list.tsFile · 0.90
count.tsFile · 0.90
text_search.tsFile · 0.90
update.tsFile · 0.90
get_row.tsFile · 0.90
vector_search.tsFile · 0.90
utils.test.tsFile · 0.90
query.tsFile · 0.90

Calls 1

Tested by

no test coverage detected