迁移网关
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user