We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f13738 commit e9b388bCopy full SHA for e9b388b
src/lib/helpers.ts
@@ -80,7 +80,9 @@ export function applySettingDefaults<
80
* @throws {Error}
81
*/
82
export function validateSupabaseUrl(supabaseUrl: string): URL {
83
- if (!supabaseUrl) {
+ const trimmedUrl = supabaseUrl?.trim()
84
+
85
+ if (!trimmedUrl) {
86
throw new Error('supabaseUrl is required.')
87
}
88
0 commit comments