Fix web build

This commit is contained in:
Paul Frazee 2022-06-15 22:33:16 -05:00
parent 172ed1e2cd
commit de87ec17d1
9 changed files with 88 additions and 56 deletions

View file

@ -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