From 3b6fc1c49694f40c69db549130a759ee31b6f206 Mon Sep 17 00:00:00 2001 From: metacubex Date: Sat, 14 Jan 2023 02:27:44 +0800 Subject: [PATCH] chore: adjust the case of Program names and HttpRequest UA --- component/http/http.go | 2 +- constant/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/component/http/http.go b/component/http/http.go index 5f7968f6..54a3daa9 100644 --- a/component/http/http.go +++ b/component/http/http.go @@ -13,7 +13,7 @@ import ( ) const ( - UA = "Clash" + UA = "clash.meta" ) func HttpRequest(ctx context.Context, url, method string, header map[string][]string, body io.Reader) (*http.Response, error) { diff --git a/constant/version.go b/constant/version.go index 8bc7e2f7..cbb7ab61 100644 --- a/constant/version.go +++ b/constant/version.go @@ -4,5 +4,5 @@ var ( Meta = true Version = "1.10.0" BuildTime = "unknown time" - ClashName = "Clash.Meta" + ClashName = "clash.meta" )