迁移网关

This commit is contained in:
BBIT-Kai
2026-06-11 09:44:28 +08:00
parent a3df3b0322
commit cd16184e0c
22 changed files with 70 additions and 433 deletions
+2 -4
View File
@@ -1,10 +1,8 @@
VITE_BASE=/
# 接口地址
#VITE_GLOB_API_URL=https://ai.ronsunny.cn:8090/api
#VITE_GLOB_API_URL_PY=https://ai.ronsunny.cn:8090/ai
VITE_GLOB_API_URL=https://171.212.101.200:8090/api
VITE_GLOB_API_URL_PY=https://171.212.101.200:8090/ai
VITE_GLOB_API_URL=https://ai.bbitcn.net/api
VITE_GLOB_API_URL_PY=https://ai.bbitcn.net/ai
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
+1 -1
View File
@@ -17,7 +17,7 @@ type WsOptions = {
path: (() => string) | string;
reconnectInterval?: number;
};
const BASE_WS_URL = 'wss://ai.ronsunny.cn:8090/ai/';
const BASE_WS_URL = 'wss://ai.bbitcn.net/ai/';
// const BASE_WS_URL = 'ws://127.0.0.1:13011/';
export function createAutoReconnectWs(options: WsOptions) {
let ws: null | WebSocket = null;
+1 -1
View File
@@ -65,6 +65,6 @@ export const overridesPreferences = defineOverridesPreferences({
},
logo: {
enable: true,
source: 'https://ai.ronsunny.cn:9000/system/default/favicon.ico',
source: 'https://storage.bbitcn.net/system/default/favicon.ico',
},
});
@@ -127,7 +127,7 @@ const disconnectAll = async () => {
<template #default>
<Card class="ml-2 h-full">
<iframe
src="https://ai.ronsunny.cn:8090/remote"
src="https://remote.bbitcn.net"
class="h-full w-full"
></iframe>
</Card>