Make config usage more clear

main
ClaraCrazy 2024-11-11 18:51:50 +01:00
parent 159cd9942e
commit 05bb74e1d3
No known key found for this signature in database
GPG Key ID: EBBC896ACB497011
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ const config = {
http: { // HTTP configuration http: { // HTTP configuration
port: normalizePort(process.env.HTTP_PORT || 3000), // http port to listen on port: normalizePort(process.env.HTTP_PORT || 3000), // http port to listen on
branding: process.env.HTTP_BRANDING || ["48hr.email", "CrazyCo", "https://crazyco.xyz"], // branding [service_title, company_name, company_url] branding: process.env.HTTP_BRANDING || ["48hr.email", "CrazyCo", "https://crazyco.xyz"], // branding [service_title, company_name, company_url]
displaySort: process.env.HTTP_DISPLAY_SORT || 0, // Sorting logic used for display: displaySort: process.env.HTTP_DISPLAY_SORT || 0, // Sorting logic used for displaying available email domains:
// 0 does not modify, // 0 does not modify,
// 1 sorts alphabetically, // 1 sorts alphabetically,
// 2 sorts alphabetically and only shuffles the first item, // 2 sorts alphabetically and only shuffles the first item,
// 3 shuffles all // 3 shuffles all
hideOther: process.env.HTTP_HIDE_OTHER || false, // Hide other emails in the list and only show first (true) or show all (false) hideOther: process.env.HTTP_HIDE_OTHER || false, // Hide other email domains in the list and only show first (true) or show all (false)
}, },
} }