client config via .env file

This commit is contained in:
2025-11-29 16:46:56 +05:30
parent d4edf049ed
commit ecb8825734
2 changed files with 8 additions and 2 deletions

4
src/vite-env.d.ts vendored
View File

@@ -1,7 +1,9 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_WS_BASE_URL: string;
readonly VITE_WS_HOST: string;
readonly VITE_WS_PORT: string;
readonly VITE_WS_SKEY: string;
}
interface ImportMeta {