add env var to remove user registration
This commit is contained in:
14
resources/js/utilities/env.ts
Normal file
14
resources/js/utilities/env.ts
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user