Fix web build
This commit is contained in:
+2
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user