From 4a7e73ec5d12f86119fd2712f3dc9539a3d1c352 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Sat, 7 Dec 2024 19:18:19 +0800 Subject: [PATCH] fix: allow mapstructure override for site url --- pkg/config/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/auth.go b/pkg/config/auth.go index 10611c23b..5cb551cd1 100644 --- a/pkg/config/auth.go +++ b/pkg/config/auth.go @@ -48,7 +48,7 @@ type ( Enabled bool `toml:"enabled"` Image string `toml:"-"` - SiteUrl string `toml:"site_url"` + SiteUrl string `toml:"site_url" mapstructure:"site_url"` AdditionalRedirectUrls []string `toml:"additional_redirect_urls"` JwtExpiry uint `toml:"jwt_expiry"` EnableRefreshTokenRotation bool `toml:"enable_refresh_token_rotation"`