export const HOST_NAME_DEV = "http://localhost" ; export const HOST_NAME_ANDROID_LOCAL = "http://10.0.2.2" ; export const HOST_PORT_DEV = 3000 ; export const SERVER_PORT_DEV = 3001 ; export const HOST_URL_DEV = `${ HOST_NAME_DEV }:${ HOST_PORT_DEV }` ; export const HOST_NAME_PROD = "https://<your_app_name>.azurewebsites.net" ; export const HOST_PORT_PROD = 80 ; export const SERVER_PORT_PROD = HOST_PORT_PROD ; let url ; if ( HOST_PORT_PROD === 80 ) { url = HOST_NAME_PROD ; } else { url = `${ HOST_NAME_PROD }:${ HOST_PORT_PROD }` ; } export const HOST_URL_PROD = url ; export const CORS_WHITELIST = [ `${ HOST_NAME_ANDROID_LOCAL }:${ HOST_PORT_DEV }` , HOST_URL_DEV ] ;