chore(editor): 更新生产域名并调整 Devtool 配置

This commit is contained in:
plum 2026-04-09 19:49:03 +08:00
parent 43c2be9525
commit 8b363e8eb4
2 changed files with 6 additions and 5 deletions

View File

@ -16,7 +16,7 @@ VITE_ENABLE_ANALYZE=true
VITE_ENABLE_CONFIG_GENERATE=true
# 当前站点URL
VITE_GLOB_ORIGIN=https://editor.astraljs.com/
VITE_GLOB_ORIGIN=https://tk.astraltwin.cn/
#ws接口
VITE_GLOB_SOCKET_URL=wss://editor.astraljs.com/socket
VITE_GLOB_SOCKET_URL=wss://tk.astraltwin.cn/socket

View File

@ -27,9 +27,10 @@ async function main() {
app.mount('#app');
if (import.meta.env.PROD){
DisableDevtool({
clearLog:true
});
// DisableDevtool({
// md5: "32981a13284db7a021131df49e6cd203",
// clearLog: true,
// });
}
}