chore(editor): 更新生产域名并调整 Devtool 配置
This commit is contained in:
parent
43c2be9525
commit
8b363e8eb4
@ -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
|
||||
@ -27,9 +27,10 @@ async function main() {
|
||||
app.mount('#app');
|
||||
|
||||
if (import.meta.env.PROD){
|
||||
DisableDevtool({
|
||||
clearLog:true
|
||||
});
|
||||
// DisableDevtool({
|
||||
// md5: "32981a13284db7a021131df49e6cd203",
|
||||
// clearLog: true,
|
||||
// });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user