config: 更新服务器地址配置
- 将 SOCKET_URL 从 server.websoft.top 更新为 glt-server.websoft.top - 更新用户导入模板下载链接的服务器地址 - 修改 Vite 代理配置中的 API 目标地址为新服务器
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
|||||||
} from '@/api/system/chat';
|
} from '@/api/system/chat';
|
||||||
import { emitter } from '@/utils/common';
|
import { emitter } from '@/utils/common';
|
||||||
|
|
||||||
const SOCKET_URL = 'wss://server.websoft.top';
|
const SOCKET_URL = 'wss://glt-server.websoft.top';
|
||||||
|
|
||||||
interface ConnectionOptions {
|
interface ConnectionOptions {
|
||||||
token: string;
|
token: string;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<div class="ele-text-center">
|
<div class="ele-text-center">
|
||||||
<span>只能上传xls、xlsx文件,</span>
|
<span>只能上传xls、xlsx文件,</span>
|
||||||
<a
|
<a
|
||||||
href="https://server.websoft.top/api/system/user/import/template"
|
href="https://glt-server.websoft.top/api/system/user/import/template"
|
||||||
download="用户导入模板.xlsx"
|
download="用户导入模板.xlsx"
|
||||||
>
|
>
|
||||||
下载导入模板
|
下载导入模板
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export default defineConfig(({ command }) => {
|
|||||||
// 代理配置
|
// 代理配置
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: process.env.VITE_API_URL || 'https://server.websoft.top',
|
target: process.env.VITE_API_URL || 'https://glt-server.websoft.top',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: false,
|
secure: false,
|
||||||
configure: (proxy, _options) => {
|
configure: (proxy, _options) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user