迁移网关

This commit is contained in:
BBIT-Kai
2026-06-11 09:44:28 +08:00
parent a3df3b0322
commit cd16184e0c
22 changed files with 70 additions and 433 deletions
@@ -31,7 +31,7 @@ const val VIDEO_INPUT_PATH = "C:/tmp/"
* 服务器地址
* ADB 秦朗FRP地址
*/
const val SERVER_PATH_FRP = "s3.ronsunny.cn" // 171.212.101.201
const val SERVER_PATH_FRP = "171.212.101.201" // s3.ronsunny.cn
/**
* 局域网IP 用于连接PostgreSQL和Radis
@@ -13,7 +13,6 @@ fun Application.configureCORS() {
anyHost()
allowHost("localhost:8089")
allowHost("127.0.0.1:8089")
allowHost("ai.ronsunny.cn:8089")
// 进一步配置 CORS
allowMethod(HttpMethod.Get)
+2 -2
View File
@@ -30,8 +30,8 @@ ktor:
password: "7ZYPc75xCViqSrCg"
oss:
endpoint: "ai.ronsunny.cn"
port: 9000
endpoint: "storage.bbitcn.net"
port: 443
secure: true
region: "Chengdu"
access-key: "minioadmin"