From 74b3418193d0c0da8662472f58fa97dbfdd07006 Mon Sep 17 00:00:00 2001
From: octopusYan <935540320@qq.com>
Date: Thu, 21 Apr 2022 18:07:26 +0800
Subject: [PATCH] readme
---
README.md | 3 ++-
pom.xml | 6 +++---
src/main/java/top/octopusyan/YanFrpApplication.java | 2 +-
src/main/java/top/octopusyan/config/ProxyConfig.java | 12 ++++++------
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 5fc5501..f72cde7 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
基于javafx开发的 frp 客户端
后台管理面板使用的是开源的 frp 管理面板 [SakuraPanel](https://github.com/ZeroDream-CN/SakuraPanel)
- ps:为了方便 YanFrp 我自己修改了些面板代码,如果想自己搭建需要改造
+ ps:为了适配 yanfrp 我自己修改了些面板代码,如果想自己搭建需要改造
管理面板网址:https://frp.octopusyan.top/?page=login
@@ -15,6 +15,7 @@
- ~~HTTP Basic Auth~~ (已完成)
- ~~添加p2p连接方式(xtcp,stcp)~~ (已完成)
+- 删除
- HTTP URL路由
- 待添加...
diff --git a/pom.xml b/pom.xml
index bbc2da6..f3f1127 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,9 +5,9 @@
4.0.0
top.octopusyan
- YanFrp
- 1.1.2
- YanFrp
+ yanfrp
+ 1.1.3
+ yanfrp
UTF-8
diff --git a/src/main/java/top/octopusyan/YanFrpApplication.java b/src/main/java/top/octopusyan/YanFrpApplication.java
index a7ab128..2ca94fc 100644
--- a/src/main/java/top/octopusyan/YanFrpApplication.java
+++ b/src/main/java/top/octopusyan/YanFrpApplication.java
@@ -55,7 +55,7 @@ public class YanFrpApplication extends Application {
HttpLoggingInterceptor.Level.HEADERS
))
// 请求服务地址
- .serverPath("https://frp.octopusyan.top")
+ .serverPath("https://example.com")
// 是否打印日志
.setLogEnabled(true)
// 设置日志打印策略
diff --git a/src/main/java/top/octopusyan/config/ProxyConfig.java b/src/main/java/top/octopusyan/config/ProxyConfig.java
index 68b0a15..d6484bf 100644
--- a/src/main/java/top/octopusyan/config/ProxyConfig.java
+++ b/src/main/java/top/octopusyan/config/ProxyConfig.java
@@ -20,13 +20,13 @@ public class ProxyConfig {
private static final Map typePort = new HashMap<>();
static {
- serverPath.put("香港", "xg.frp.octopusyan.top");
- serverPath.put("北京", "bj.frp.octopusyan.top");
- serverPath.put("上海", "frp.octopusyan.top");
+ serverPath.put("香港", "example.com");
+ serverPath.put("北京", "example.com");
+ serverPath.put("上海", "example.com");
- serverIp.put("香港", "101.32.202.135");
- serverIp.put("北京", "112.125.120.135");
- serverIp.put("上海", "81.68.214.67");
+ serverIp.put("香港", "127.0.0.1");
+ serverIp.put("北京", "127.0.0.1");
+ serverIp.put("上海", "127.0.0.1");
typePort.put("http", 80);
typePort.put("https", 80);