Compare commits
No commits in common. "0916" and "0915" have entirely different histories.
@ -41,5 +41,5 @@ async function bootstrap() {
|
||||
|
||||
}
|
||||
bootstrap().then(()=>{
|
||||
console.log(`${sysBase.host}:${sysBase.port}`);
|
||||
console.log(`http://localhost:${sysBase.port}`);
|
||||
});
|
||||
|
@ -1,4 +1,4 @@
|
||||
//*- coding = utf-8 -*-
|
||||
//*- coding = utf-8 -*-
|
||||
//@Time : 2022-11-12 16:12
|
||||
//@Author : 管茂良
|
||||
//@File : config.js
|
||||
@ -28,8 +28,8 @@ export const handleMyConfig = ()=>{
|
||||
type: 'mysql',//数据库类型
|
||||
host: '127.0.0.1',//ip
|
||||
port: 3306,//端口号
|
||||
username: 'lqs',//账号
|
||||
password: 'admin',//密码
|
||||
username: 'root',//账号
|
||||
password: 'Sj89061189',//密码
|
||||
database: 'server',//数据库名
|
||||
synchronize: true,//是否自动将实体类同步到数据库
|
||||
retryDelay:500,//重试连接数据库间隙
|
||||
|
@ -1,12 +1,10 @@
|
||||
VITE_TITLE = "沉默小管 - vueCms"
|
||||
VITE_TITLE = "沉默小管 - vueCms"
|
||||
|
||||
VITE_NODE_ENV = dev
|
||||
|
||||
VITE_HTTP = http://localhost:3000/
|
||||
|
||||
#VITE_SOCKET_HTTP = localhost:9876/
|
||||
VITE_SOCKET_HTTP = www.gdsfs.top:7996/
|
||||
VITE_WEB_BASE_URL = https://www.gdsfs.top
|
||||
#VITE_SOCKET_HTTP = www.gdsfs.top/
|
||||
VITE_SOCKET_HTTP = localhost:9876/
|
||||
|
||||
# 页面标题
|
||||
VITE_APP_TITLE = vueCms
|
||||
|
@ -16,7 +16,6 @@ const domains = [
|
||||
"cdn.bytedance.com",
|
||||
"www.jsdelivr.com",
|
||||
"unpkg.com",
|
||||
"*",
|
||||
]
|
||||
//重试次数
|
||||
const maxRetry = 3;
|
||||
|
@ -137,7 +137,6 @@ export default defineConfig(({ command, mode }) => {
|
||||
target: VITE_HTTP,
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/dev-api/, ""),
|
||||
wss: true, // 添加此行以启用WebSocket代理
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user