diff --git a/.gitignore b/.gitignore index 64859e1..0f6fc6d 100644 --- a/.gitignore +++ b/.gitignore @@ -174,7 +174,6 @@ build/ *.dll *.so *.dylib -gost your_app.exe # Go 测试二进制文件 diff --git a/README.md b/README.md index 21bf555..42a7f6b 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ 不在提供gitee 自行解决github访问问题 ```bash -curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh +curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh ``` diff --git a/go-gost/gost b/go-gost/gost new file mode 100755 index 0000000..1067e54 Binary files /dev/null and b/go-gost/gost differ diff --git a/install.sh b/install.sh index 0080ad0..aaf57f4 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/bash # 下载地址 -DOWNLOAD_URL="https://github.com/bqlpfy/forward-panel/releases/download/gost/gost" +DOWNLOAD_URL="https://file.tes.cc/bqlpfy/forward-panel/releases/download/gost/gost" INSTALL_DIR="/etc/gost" # 显示菜单 diff --git a/panel_install.sh b/panel_install.sh index 7d23037..27bc332 100755 --- a/panel_install.sh +++ b/panel_install.sh @@ -6,9 +6,9 @@ export LANG=en_US.UTF-8 export LC_ALL=C # 全局下载地址配置 -DOCKER_COMPOSEV4_URL="https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v4.yml" -DOCKER_COMPOSEV6_URL="https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v6.yml" -GOST_SQL_URL="https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/gost.sql" +DOCKER_COMPOSEV4_URL="https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v4.yml" +DOCKER_COMPOSEV6_URL="https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v6.yml" +GOST_SQL_URL="https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/gost.sql" # 根据IPv6支持情况选择docker-compose URL get_docker_compose_url() { diff --git a/springboot-backend/src/main/java/com/admin/service/impl/NodeServiceImpl.java b/springboot-backend/src/main/java/com/admin/service/impl/NodeServiceImpl.java index d84d9ec..5f59e87 100644 --- a/springboot-backend/src/main/java/com/admin/service/impl/NodeServiceImpl.java +++ b/springboot-backend/src/main/java/com/admin/service/impl/NodeServiceImpl.java @@ -322,7 +322,7 @@ public class NodeServiceImpl extends ServiceImpl implements No StringBuilder command = new StringBuilder(); // 第一部分:下载安装脚本 - command.append("curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/install.sh") + command.append("curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/install.sh") .append(" -o ./install.sh && chmod +x ./install.sh && "); // 处理服务器地址,如果是IPv6需要添加方括号 diff --git a/vitepress/faq.md b/vitepress/faq.md index 06aef49..5771527 100644 --- a/vitepress/faq.md +++ b/vitepress/faq.md @@ -48,7 +48,7 @@ journalctl -u gost -f 当您需要更新到最新版本时,使用安装脚本的更新功能: ```bash -curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh +curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh ``` 运行脚本后,在菜单中选择 **2. 更新面板** @@ -80,7 +80,7 @@ curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/p 如果需要完全移除面板: ```bash -curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh +curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh ``` 运行脚本后,在菜单中选择 **3. 卸载面板**,然后输入 **y** 确认卸载 @@ -113,7 +113,7 @@ curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/p 在节点服务器上更新 GOST 程序: ```bash -curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh +curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh ``` 运行脚本后,在菜单中选择 **2. 更新** @@ -124,7 +124,7 @@ curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/i 完全移除节点上的 GOST 程序: ```bash -curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh +curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh ``` 运行脚本后,在菜单中选择 **3. 卸载**,然后输入 **y** 确认卸载 diff --git a/vitepress/getting-started.md b/vitepress/getting-started.md index 7636612..2294aa9 100644 --- a/vitepress/getting-started.md +++ b/vitepress/getting-started.md @@ -22,7 +22,7 @@ 我们提供了交互式安装脚本,会自动检测系统环境并引导您完成配置: ```bash -curl -L https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh +curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh ``` ### 安装流程说明 @@ -67,13 +67,13 @@ curl -L https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/panel_instal ```bash # 下载 docker-compose 配置(IPv4) -curl -L -o docker-compose.yml https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v4.yml +curl -L -o docker-compose.yml https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v4.yml # 或下载 IPv6 配置 -curl -L -o docker-compose.yml https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v6.yml +curl -L -o docker-compose.yml https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v6.yml # 下载数据库初始化文件 -curl -L -o gost.sql https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/gost.sql +curl -L -o gost.sql https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/gost.sql ``` ### 2. 创建环境配置