Initialize LineUp app server
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# LineUp App Server 配置
|
||||
mode: "debug"
|
||||
addr: ":8090"
|
||||
|
||||
# Trusted cross-origin clients. Browser chat is served same-origin; Tauri's
|
||||
# WebView origin must be explicit rather than allowing arbitrary web pages.
|
||||
client:
|
||||
allowedOrigins:
|
||||
- "tauri://localhost"
|
||||
- "https://tauri.localhost"
|
||||
- "http://tauri.localhost"
|
||||
# Tauri `dev` loads the trusted Host UI from this fixed local Vite URL.
|
||||
# Keep it explicit; do not replace this allowlist with a wildcard.
|
||||
- "http://127.0.0.1:1420"
|
||||
- "http://localhost:1420"
|
||||
# Browser preview / fallback ports used when the default dev port is occupied.
|
||||
- "http://127.0.0.1:1421"
|
||||
- "http://127.0.0.1:1422"
|
||||
- "http://localhost:1421"
|
||||
- "http://localhost:1422"
|
||||
# Linux development Host, accessed by the Mac browser through Tailscale.
|
||||
# Keep the exact origin; never replace this allowlist with a wildcard.
|
||||
- "http://100.121.118.116:1420"
|
||||
# Same trusted development Host, accessed by phones on the local Wi-Fi.
|
||||
# Keep this exact LAN origin; never replace this allowlist with a wildcard.
|
||||
- "http://192.168.3.108:1420"
|
||||
|
||||
# WuKongIM 3.0 连接配置
|
||||
wukongim:
|
||||
apiURL: "http://127.0.0.1:15001"
|
||||
wsAddr: "ws://127.0.0.1:15200"
|
||||
managerToken: "lineup-dev-only"
|
||||
|
||||
# 默认 Agent 配置
|
||||
agent:
|
||||
# The stable identity used by the real Hermes Adapter.
|
||||
uid: "agent_hermes_main"
|
||||
channelID: "agent_default_channel"
|
||||
channelType: 2
|
||||
# Set via LINEUP_AGENT_SHARED_SECRET in the deployment environment. Do not
|
||||
# store its value in this repository; heartbeat is disabled until configured.
|
||||
shared_secret: ""
|
||||
Reference in New Issue
Block a user