diff options
Diffstat (limited to 'src/env.ts')
-rw-r--r-- | src/env.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/env.ts b/src/env.ts index 47bceac77..78fb88acc 100644 --- a/src/env.ts +++ b/src/env.ts @@ -1,7 +1,5 @@ -import {REACT_APP_AUTH_LOBBY} from '@env' - -if (typeof REACT_APP_AUTH_LOBBY !== 'string') { +if (typeof process.env.REACT_APP_AUTH_LOBBY !== 'string') { throw new Error('ENV: No auth lobby provided') } -export const AUTH_LOBBY = REACT_APP_AUTH_LOBBY +export const AUTH_LOBBY = process.env.REACT_APP_AUTH_LOBBY |