Rename VITE_VERSION to VITE_APP_VERSION

This commit is contained in:
James Lyne 2022-01-12 00:31:54 +00:00
parent eaad0b4de5
commit 51ec91be22
3 changed files with 3 additions and 3 deletions

2
.env
View File

@ -1 +1 @@
VITE_VERSION=2.0.1
VITE_APP_VERSION=2.0.1

2
src/index.d.ts vendored
View File

@ -41,7 +41,7 @@ declare global {
declare const process : {
env: {
VITE_VERSION: string
VITE_APP_VERSION: string
}
}
}

View File

@ -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: {