From 51ec91be224d26b59ca122fe7363e93145e0fe1c Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 12 Jan 2022 00:31:54 +0000 Subject: [PATCH] Rename VITE_VERSION to VITE_APP_VERSION --- .env | 2 +- src/index.d.ts | 2 +- src/store/state.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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: {