18 lines
584 B
JavaScript

export const AppConstants = Object.freeze({
APP_NAME: process.env.DESCRIPTION, //package.json description
APP_CODE: process.env.NAME, // package.json name
VERSION: process.env.VERSION,
REST_SERVER: process.env.REST_SERVER,
REST_BASE_URL: process.env.REST_BASE_URL,
SESSION_EXPIRED_TIMEOUT: process.env.SESSION_EXPIRED_TIMEOUT,
KEEP_ALIVE_MINUTES: process.env.KEEP_ALIVE_MINUTES,
DEFAULT_LANG: process.env.DEFAULT_LANG || 'IT',
I18N_CODES: [''],
AUTHENTICATION_METHOD: process.env.AUTHENTICATION_METHOD,
DEBUG_VIEW: process.env.DEBUG_VIEW,
THEME: process.env.THEME
});