diff --git a/.env b/.env index 77f4f10..40c54cf 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -VITE_VERSION=2.0.1 +VITE_APP_VERSION=2.0.1 diff --git a/src/index.d.ts b/src/index.d.ts index 206c968..0127191 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -41,7 +41,7 @@ declare global { declare const process : { env: { - VITE_VERSION: string + VITE_APP_VERSION: string } } } diff --git a/src/store/state.ts b/src/store/state.ts index 682f180..0dfa80f 100644 --- a/src/store/state.ts +++ b/src/store/state.ts @@ -98,7 +98,7 @@ export type State = { } export const state: State = { - version: (process.env.VITE_VERSION || 'Unknown') as string, + version: (process.env.VITE_APP_VERSION || 'Unknown') as string, servers: new Map(), configuration: {