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 da86fee commit fa82e82Copy full SHA for fa82e82
apps/svelte.dev/src/lib/db/client.js
@@ -14,6 +14,8 @@ if (!building && (!env.SUPABASE_URL || !env.SUPABASE_KEY)) {
14
// @ts-ignore-line
15
export const client =
16
!building &&
17
+ env.SUPABASE_URL &&
18
+ env.SUPABASE_KEY &&
19
createClient(env.SUPABASE_URL, env.SUPABASE_KEY, {
20
global: { fetch },
21
auth: { persistSession: false }
0 commit comments