feat: add frontend prototype
This commit is contained in:
@@ -21,6 +21,7 @@ type Config struct {
|
||||
SupabaseIssuer string
|
||||
SupabaseJWTSecret string
|
||||
RedisAddr string
|
||||
AppSiteURL string
|
||||
}
|
||||
|
||||
func Load() (Config, error) {
|
||||
@@ -50,6 +51,7 @@ func Load() (Config, error) {
|
||||
SupabaseIssuer: os.Getenv("SUPABASE_ISSUER"),
|
||||
SupabaseJWTSecret: os.Getenv("SUPABASE_JWT_SECRET"),
|
||||
RedisAddr: getenv("REDIS_ADDR", "localhost:6379"),
|
||||
AppSiteURL: getenv("APP_SITE_URL", "http://localhost:5173"),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user