feat(captcha): update static asset source option (#2589)

* feat(captcha): Add captcha_cap_asset_server configuration option to support static asset server settings (#2584)

* fix(captcha): Backend default: cdn → jsdelivr
This commit is contained in:
WittF
2025-06-29 10:14:26 +08:00
committed by GitHub
parent f38f32f9f5
commit 6106b57bc7
4 changed files with 5 additions and 0 deletions

View File

@ -671,6 +671,7 @@ func (s *settingProvider) CapCaptcha(ctx context.Context) *Cap {
InstanceURL: s.getString(ctx, "captcha_cap_instance_url", ""),
SiteKey: s.getString(ctx, "captcha_cap_site_key", ""),
SecretKey: s.getString(ctx, "captcha_cap_secret_key", ""),
AssetServer: s.getString(ctx, "captcha_cap_asset_server", "jsdelivr"),
}
}