diff --git a/config-man.json b/config-man.json index a0d08af..25d8126 100644 --- a/config-man.json +++ b/config-man.json @@ -1,11 +1,11 @@ { "storage": { - "path": "n3ft/ab", - "rclone_remote": "ft", + "path": "ab", + "rclone_remote": "prod", "timeout": 30 }, "cdn": { - "base_url": "https://ab.bamboogames.cc/ab", + "base_url": "https://128-ft-cdn-aws-tx.arksgame.com/ab", "timeout": 10, "retry_count": 3, "cloudflare": { @@ -26,4 +26,4 @@ "max_width": 100, "truncate_length": 25 } -} \ No newline at end of file +} diff --git a/src/config_man/core/force_update_command.py b/src/config_man/core/force_update_command.py index 6361a20..ba87d81 100644 --- a/src/config_man/core/force_update_command.py +++ b/src/config_man/core/force_update_command.py @@ -54,9 +54,9 @@ class ForceUpdateCommand: return False # 5. 刷新CDN缓存 - success = self._refresh_cdn_cache(platform, target_version) - if not success: - self.display_manager.display_warning("配置已更新,但CDN缓存刷新失败") + # success = self._refresh_cdn_cache(platform, target_version) + # if not success: + # self.display_manager.display_warning("配置已更新,但CDN缓存刷新失败") # 6. 显示结果和对比 self._display_success_result(platform, target_version, update_version, update_ver_value) diff --git a/src/config_man/core/suggest_update_command.py b/src/config_man/core/suggest_update_command.py index 492a435..b4c9843 100644 --- a/src/config_man/core/suggest_update_command.py +++ b/src/config_man/core/suggest_update_command.py @@ -54,9 +54,9 @@ class SuggestUpdateCommand: return False # 5. 刷新CDN缓存 - success = self._refresh_cdn_cache(platform, target_version) - if not success: - self.display_manager.display_warning("配置已更新,但CDN缓存刷新失败") + # success = self._refresh_cdn_cache(platform, target_version) + # if not success: + # self.display_manager.display_warning("配置已更新,但CDN缓存刷新失败") # 6. 显示结果和对比 self._display_success_result(platform, target_version, update_version, update_ver_value)