🔨 对外服务 api 配置.

This commit is contained in:
lijiahangmax
2025-12-09 10:06:24 +08:00
parent 40afc03203
commit f4ddeb3e6c
10 changed files with 122 additions and 7 deletions

View File

@@ -74,6 +74,10 @@ orion:
api:
# 是否允许跨域
cors: ${API_CORS:true}
# 服务端主机地址
host: ${API_HOST:0.0.0.0}
# 服务端接口地址 默认自动生成
url: ${API_URL:}
# 获取 IP 的请求头
ip-headers: ${API_IP_HEADERS:X-Forwarded-For,X-Real-IP}
# 对外服务

View File

@@ -175,6 +175,10 @@ orion:
prefix: ${orion.prefix}/api
# 是否允许跨域
cors: true
# 服务端主机地址
host: 0.0.0.0
# 服务端接口地址 默认自动生成
url:
# 获取 IP 的请求头
ip-headers: X-Forwarded-For,X-Real-IP
# 对外服务