From 30b7df3544cd144a8803faf67737b89353a3c958 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 8 May 2025 18:34:14 +0800 Subject: [PATCH] fix --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 47ebb87..02f28bb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -52,7 +52,7 @@ const app = createApp(App) app.use(naive) app.mount("#app") -if (import.meta.env.MODE === "staging") { +if (!!import.meta.env.PUBLIC_ICONIFY) { addAPIProvider("", { resources: [import.meta.env.PUBLIC_ICONIFY], })