This commit is contained in:
2026-01-11 16:02:12 +08:00
parent ba6528bd4c
commit 0cf9b12db6
2 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
window.config = { window.config = {
// 生产环境服务器地址 - Docker 容器中使用空字符串或相对路径,通过 nginx 反向代理 // 生产环境服务器地址 - 通过 nginx 统一入口
socketServer:'ws://124.222.155.209:8326/', socketServer: (window.location.protocol === 'https:' ? 'wss://' : 'ws://') + window.location.host + '/ws/',
ajaxServer: '', // 使用相对路径,通过 nginx 反向代理到网关 ajaxServer: '' // 使用相对路径,通过 nginx 反向代理到网关
} }

View File

@@ -1,6 +1,6 @@
window.config = { window.config = {
// 生产环境服务器地址 - Docker 容器中使用空字符串或相对路径,通过 nginx 反向代理 // 生产环境服务器地址 - 通过 nginx 统一入口
socketServer:'ws://124.222.155.209:8326/', socketServer: (window.location.protocol === 'https:' ? 'wss://' : 'ws://') + window.location.host + '/ws/',
ajaxServer: '', // 使用相对路径,通过 nginx 反向代理到网关 ajaxServer: '' // 使用相对路径,通过 nginx 反向代理到网关
} }