mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-24 17:41:27 -04:00
Fix debug
This commit is contained in:
@@ -5,7 +5,6 @@ import {
|
||||
IS_LOCAL_ANDROID,
|
||||
IS_WEBVIEW_DEV_PHONE,
|
||||
} from 'common/hosting/constants'
|
||||
import {debug} from 'common/logger'
|
||||
|
||||
import {DEV_CONFIG} from './dev'
|
||||
import {PROD_CONFIG} from './prod'
|
||||
@@ -49,7 +48,7 @@ console.debug(`Running in ${HOSTING_ENV} (${ENV})`)
|
||||
// }
|
||||
|
||||
export const IS_FIREBASE_EMULATOR = process.env.NEXT_PUBLIC_FIREBASE_EMULATOR === 'true'
|
||||
if (IS_FIREBASE_EMULATOR) debug('Using Firebase emulator.')
|
||||
if (IS_FIREBASE_EMULATOR) console.debug('Using Firebase emulator.')
|
||||
|
||||
export const LOCAL_WEB_DOMAIN = `localhost:3000`
|
||||
export const LOCAL_BACKEND_DOMAIN = `${IS_WEBVIEW_DEV_PHONE ? '192.168.1.3' : IS_LOCAL_ANDROID ? '10.0.2.2' : 'localhost'}:8088`
|
||||
|
||||
Reference in New Issue
Block a user