add startup message with version number

This commit is contained in:
Art Lowel
2022-09-08 13:53:02 +02:00
committed by Samuel Cambien
parent 59f9534418
commit c94e5d0709
5 changed files with 25 additions and 5 deletions

View File

@@ -143,10 +143,6 @@ export abstract class InitService {
if (environment.debug) {
console.info(environment);
}
const env: string = environment.production ? 'Production' : 'Development';
const color: string = environment.production ? 'red' : 'green';
console.info(`Environment: %c${env}`, `color: ${color}; font-weight: bold;`);
}
/**