Luyus
This commit is contained in:
@@ -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 反向代理到网关
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 反向代理到网关
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user