Fix web build
This commit is contained in:
parent
172ed1e2cd
commit
de87ec17d1
9 changed files with 88 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue