diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-06-15 22:33:16 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-06-15 22:33:16 -0500 |
commit | de87ec17d1673855fdfe2ccd125d734591969dd4 (patch) | |
tree | cc2380d8fd4bb6c97f034ed460638536c735a144 /src/env.ts | |
parent | 172ed1e2cd00ace0ace07f5782daa264f7a2764f (diff) | |
download | voidsky-de87ec17d1673855fdfe2ccd125d734591969dd4.tar.zst |
Fix web build
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 |