add env var to remove user registration

This commit is contained in:
Romulus21
2024-03-04 17:17:46 +01:00
parent 6dd147c3e2
commit 6609738650
6 changed files with 25 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
// @ts-expect-error use import var
export const env: envProps = import.meta.env
interface envProps {
BASE_URL: string,
DEV: boolean,
MODE: string,
PROD: boolean,
VITE_APP_NAME: string,
VITE_REGISTER_DISABLED: string,
}