diff --git a/internal/bootstrap/bootstrap.go b/internal/bootstrap/bootstrap.go index 68832b076..aa5a32e09 100644 --- a/internal/bootstrap/bootstrap.go +++ b/internal/bootstrap/bootstrap.go @@ -206,6 +206,8 @@ const ( POSTGRES_DATABASE = "POSTGRES_DATABASE" NEXT_PUBLIC_SUPABASE_ANON_KEY = "NEXT_PUBLIC_SUPABASE_ANON_KEY" NEXT_PUBLIC_SUPABASE_URL = "NEXT_PUBLIC_SUPABASE_URL" + EXPO_PUBLIC_SUPABASE_ANON_KEY = "EXPO_PUBLIC_SUPABASE_ANON_KEY" + EXPO_PUBLIC_SUPABASE_URL = "EXPO_PUBLIC_SUPABASE_URL" ) func writeDotEnv(keys []api.ApiKeyResponse, config pgconn.Config, fsys afero.Fs) error { @@ -246,8 +248,12 @@ func writeDotEnv(keys []api.ApiKeyResponse, config pgconn.Config, fsys afero.Fs) case POSTGRES_DATABASE: initial[k] = config.Database case NEXT_PUBLIC_SUPABASE_ANON_KEY: + fallthrough + case EXPO_PUBLIC_SUPABASE_ANON_KEY: initial[k] = initial[SUPABASE_ANON_KEY] case NEXT_PUBLIC_SUPABASE_URL: + fallthrough + case EXPO_PUBLIC_SUPABASE_URL: initial[k] = initial[SUPABASE_URL] default: initial[k] = v