fix: move all static env to dynamic
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { PUBLIC_SUPABASE_ANON_KEY, PUBLIC_SUPABASE_URL } from '$env/static/public';
|
||||
import { env } from '$env/dynamic/public';
|
||||
import type { ConfigType } from '$lib/utils/types/config';
|
||||
|
||||
export const config: ConfigType = {
|
||||
supabaseConfig: {
|
||||
url: PUBLIC_SUPABASE_URL || 'http://localhost:54321',
|
||||
anonKey: PUBLIC_SUPABASE_ANON_KEY || 'anon-key'
|
||||
url: env.PUBLIC_SUPABASE_URL || 'http://localhost:54321',
|
||||
anonKey: env.PUBLIC_SUPABASE_ANON_KEY || 'anon-key'
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user