We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be72d5c commit ebed2b8Copy full SHA for ebed2b8
supabase/client.py
@@ -63,15 +63,7 @@ def __init__(
63
self.realtime_url: str = f"{supabase_url}/realtime/v1".replace("http", "ws")
64
self.auth_url: str = f"{supabase_url}/auth/v1"
65
self.storage_url = f"{supabase_url}/storage/v1"
66
- is_platform = re.search(r"(supabase\.co)|(supabase\.in)", supabase_url)
67
- if is_platform:
68
- url_parts = supabase_url.split(".")
69
- self.functions_url = (
70
- f"{url_parts[0]}.functions.{url_parts[1]}.{url_parts[2]}"
71
- )
72
-
73
- else:
74
- self.functions_url = f"{supabase_url}/functions/v1"
+ self.functions_url = f"{supabase_url}/functions/v1"
75
self.schema: str = options.schema
76
77
# Instantiate clients.
0 commit comments