mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 05:17:35 +00:00
feat: bring back ascii banner, but make it configurable (#703)
This commit is contained in:
+2
-2
@@ -1,12 +1,12 @@
|
||||
import {banner} from './banner';
|
||||
|
||||
console.info(banner);
|
||||
|
||||
import {config as config_} from 'dotenv';
|
||||
import path from 'path';
|
||||
|
||||
config_({path: path.resolve(__dirname, '../.env')});
|
||||
|
||||
console.info(banner.render(envOrBoolean(process.env.ASCII_BANNER, false), envOrString(process.env.BANNER_COLOR, '#808080')));
|
||||
|
||||
/**
|
||||
* Returns environment variable, given array, or default array.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user