From 75ba16281be2f45571865745993254876c5c7e85 Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Fri, 6 May 2022 00:42:20 +0800
Subject: [PATCH] chore: change default user agent

---
 src-tauri/src/core/prfitem.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src-tauri/src/core/prfitem.rs b/src-tauri/src/core/prfitem.rs
index 333b5bd..f3cb555 100644
--- a/src-tauri/src/core/prfitem.rs
+++ b/src-tauri/src/core/prfitem.rs
@@ -203,7 +203,7 @@ impl PrfItem {
       builder = builder.no_proxy();
     }
 
-    builder = builder.user_agent(user_agent.unwrap_or("clash-verge/v0.1.0".into()));
+    builder = builder.user_agent(user_agent.unwrap_or("clash-verge/v1.0.0".into()));
 
     let resp = builder.build()?.get(url).send().await?;
     let header = resp.headers();
-- 
GitLab