diff --git a/packages/editor/.env.production b/packages/editor/.env.production index f838e9b..071c961 100644 --- a/packages/editor/.env.production +++ b/packages/editor/.env.production @@ -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 \ No newline at end of file +VITE_GLOB_SOCKET_URL=wss://tk.astraltwin.cn/socket \ No newline at end of file diff --git a/packages/editor/src/main.ts b/packages/editor/src/main.ts index f2c0d61..16633c8 100644 --- a/packages/editor/src/main.ts +++ b/packages/editor/src/main.ts @@ -27,9 +27,10 @@ async function main() { app.mount('#app'); if (import.meta.env.PROD){ - DisableDevtool({ - clearLog:true - }); + // DisableDevtool({ + // md5: "32981a13284db7a021131df49e6cd203", + // clearLog: true, + // }); } }