feat: updated frontend use run time config inject value

This commit is contained in:
=
2025-01-06 14:56:50 +05:30
parent d0648ca596
commit d5412f916f
17 changed files with 111 additions and 41 deletions
+13
View File
@@ -1 +1,14 @@
/// <reference types="vite/client" />
//
interface ImportMetaEnv {
readonly VITE_POSTHOG_API_KEY?: string;
readonly VITE_POSTHOG_HOST: string;
readonly VITE_INTERCOM_ID?: string;
readonly VITE_CAPTCHA_SITE_KEY?: string;
readonly VITE_INFISICAL_PLATFORM_VERSION?: string;
// more env variables...
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}