From 8b363e8eb49a8434553c65d2e517dcb34a95916d Mon Sep 17 00:00:00 2001 From: plum <40649341+plum-k@users.noreply.github.com> Date: Thu, 9 Apr 2026 19:49:03 +0800 Subject: [PATCH] =?UTF-8?q?chore(editor):=20=E6=9B=B4=E6=96=B0=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E5=9F=9F=E5=90=8D=E5=B9=B6=E8=B0=83=E6=95=B4=20Devtoo?= =?UTF-8?q?l=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/.env.production | 4 ++-- packages/editor/src/main.ts | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) 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, + // }); } }