diff --git a/inventory/setting.go b/inventory/setting.go index 29e53b5..d8dd0b5 100644 --- a/inventory/setting.go +++ b/inventory/setting.go @@ -395,7 +395,7 @@ var DefaultSettings = map[string]string{ "captcha_cap_instance_url": "", "captcha_cap_site_key": "", "captcha_cap_secret_key": "", - "captcha_cap_asset_server": "cdn", + "captcha_cap_asset_server": "jsdelivr", "thumb_width": "400", "thumb_height": "300", "thumb_entity_suffix": "._thumb", diff --git a/pkg/setting/provider.go b/pkg/setting/provider.go index 546135d..09aacbe 100644 --- a/pkg/setting/provider.go +++ b/pkg/setting/provider.go @@ -671,7 +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", "cdn"), + AssetServer: s.getString(ctx, "captcha_cap_asset_server", "jsdelivr"), } }