mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-08 10:49:35 +01:00
[Chore]: Tiny CLI change
This commit is contained in:
parent
785de21a79
commit
8196a2f023
1 changed files with 4 additions and 2 deletions
6
app.js
6
app.js
|
|
@ -207,6 +207,8 @@ function displayStartupBanner() {
|
|||
const domains = config.email.domains.join(', ')
|
||||
const purgeTime = `${config.email.purgeTime.time} ${config.email.purgeTime.unit}`
|
||||
const refreshInterval = config.uxDebugMode ? 'N/A' : `${config.imap.refreshIntervalSeconds}s`
|
||||
const branding = config.http.features.branding[0] || '48hr.email'
|
||||
const baseUrl = config.http.baseUrl
|
||||
|
||||
// Determine mode based on environment
|
||||
let mode = 'PRODUCTION'
|
||||
|
|
@ -217,9 +219,9 @@ function displayStartupBanner() {
|
|||
}
|
||||
|
||||
console.log('\n' + '═'.repeat(70))
|
||||
console.log(` 48hr.email - ${mode} MODE`)
|
||||
console.log(` ${branding} - ${mode} MODE`)
|
||||
console.log('═'.repeat(70))
|
||||
console.log(` Server: http://localhost:${config.http.port}`)
|
||||
console.log(` Server: ${baseUrl}`)
|
||||
console.log(` Domains: ${domains}`)
|
||||
console.log(` Emails loaded: ${mailCount}`)
|
||||
console.log(` Purge after: ${purgeTime}`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue