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.native.ts | |
parent | 172ed1e2cd00ace0ace07f5782daa264f7a2764f (diff) | |
download | voidsky-de87ec17d1673855fdfe2ccd125d734591969dd4.tar.zst |
Fix web build
Diffstat (limited to 'src/env.native.ts')
-rw-r--r-- | src/env.native.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/env.native.ts b/src/env.native.ts new file mode 100644 index 000000000..581b211ca --- /dev/null +++ b/src/env.native.ts @@ -0,0 +1,8 @@ +// @ts-ignore types not available -prf +import {REACT_APP_AUTH_LOBBY} from '@env' + +if (typeof REACT_APP_AUTH_LOBBY !== 'string') { + throw new Error('ENV: No auth lobby provided') +} + +export const AUTH_LOBBY = REACT_APP_AUTH_LOBBY |