Add isSupabaseConfigured export
cgen-7fe01e523dab4f73bfbc0da6d18abe05
This commit is contained in:
parent
d47d9329b3
commit
3b2f04b68b
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ if (!supabaseUrl || !supabaseAnonKey) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Always true in production mode - Supabase is required
|
||||||
|
export const isSupabaseConfigured = true;
|
||||||
|
|
||||||
export const supabase = createClient<Database>(supabaseUrl, supabaseAnonKey, {
|
export const supabase = createClient<Database>(supabaseUrl, supabaseAnonKey, {
|
||||||
auth: {
|
auth: {
|
||||||
autoRefreshToken: true,
|
autoRefreshToken: true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue