ssr订阅地址改成https
This commit is contained in:
parent
ec7d25f51b
commit
b22bfed566
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user