From b22bfed566fd196cf134d2da3f55eb503fdd76fe Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Thu, 17 Mar 2022 09:09:02 +0800 Subject: [PATCH] =?UTF-8?q?ssr=E8=AE=A2=E9=98=85=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E6=94=B9=E6=88=90https?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/tools/other/tools.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/yutou/tools/other/tools.java b/src/main/java/com/yutou/tools/other/tools.java index 736997b..f495e23 100644 --- a/src/main/java/com/yutou/tools/other/tools.java +++ b/src/main/java/com/yutou/tools/other/tools.java @@ -153,7 +153,7 @@ public class tools { public String getClash(){ StringBuilder builder=new StringBuilder(); String ssrUrl=RedisTools.get("ssr"); - String url="http://127.0.0.1:25500/sub?target=clash&new_name=true&url="+URLEncoder.encode(ssrUrl, StandardCharsets.UTF_8) +"&insert=false&config=http%3A%2F%2Fgit.yutou233.cn%2Fyutou%2FACL4SSR%2Fraw%2Fmaster%2FClash%2Fconfig%2FACL4SSR.ini"; + String url="http://127.0.0.1:25500/sub?target=clash&new_name=true&url="+URLEncoder.encode(ssrUrl, StandardCharsets.UTF_8) +"&insert=false&config=https%3A%2F%2Fgit.yutou233.cn%2Fyutou%2FACL4SSR%2Fraw%2Fmaster%2FClash%2Fconfig%2FACL4SSR.ini"; String text= HttpTools.get(url); if(text==null){ System.out.println("ssr is Null = " + url);