mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-28 11:04:47 +08:00
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:
@ -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"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user