From 7802aa0c3cc4ee1cc99d5a6500682adc4a79dec8 Mon Sep 17 00:00:00 2001 From: quliangxu Date: Tue, 19 Nov 2024 17:29:50 +0800 Subject: [PATCH] delete frpconfig dead code --- .../com/jj/routingservice/frp/FrpConfig.kt | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/app/src/main/java/com/jj/routingservice/frp/FrpConfig.kt b/app/src/main/java/com/jj/routingservice/frp/FrpConfig.kt index 5a3168b..91c6b5d 100644 --- a/app/src/main/java/com/jj/routingservice/frp/FrpConfig.kt +++ b/app/src/main/java/com/jj/routingservice/frp/FrpConfig.kt @@ -19,30 +19,6 @@ object FrpConfig { "local_port = 7007\n" + "remote_port = 5556" - // fun getConfig(ip:String,port:Int):String{ -// return "[common]\n" + -// "server_addr = $ip\n" + -// "server_port = 7000\n" + -// "\n" + -// "[web]\n" + -// "type = tcp\n" + -// "local_ip = 127.0.0.1\n" + -// "local_port = ${Config.HTTP_WEB_PORT}\n" + -// "remote_port = $port\n" + -// "\n" + -// "[http]\n" + -// "type = tcp\n" + -// "local_ip = 127.0.0.1\n" + -// "local_port = ${Config.HTTP_PORT}\n" + -// "remote_port = 7012" -// -// } + -// "\n" + -// "[http]\n" + -// "type = tcp\n" + -// "local_ip = 127.0.0.1\n" + -// "local_port = ${Config.HTTP_PORT}\n" + -// "subdomain = bcd" fun getConfig(ip: String, serial: String): String { return "[common]\n" + "server_addr = $ip\n" +