Disable fast boot in DEV env and enable it to loaded in PROD

This commit is contained in:
Eric NGUYEN 2022-11-04 13:56:01 +01:00
parent 14c7ed0cff
commit 12727d752c

View file

@ -12,7 +12,7 @@ import { Position } from '../Enums/Position';
/// EDITOR DEFAULTS /// /// EDITOR DEFAULTS ///
/** Enable fast boot and disable main menu (0 = disabled, 1 = loading, 2 = loaded) */ /** Enable fast boot and disable main menu (0 = disabled, 1 = loading, 2 = loaded) */
export const FAST_BOOT = 0; export const FAST_BOOT = import.meta.env.PROD ? 2 : 0;
/** Disable any call to the API (default = false) */ /** Disable any call to the API (default = false) */
export const DISABLE_API = false; export const DISABLE_API = false;