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], })