0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 17:22:42 +00:00

small style changes to terminal output of server start

This commit is contained in:
Gazook89
2024-03-29 20:42:07 -05:00
parent 31cf8b7d28
commit 59b3038b9b
2 changed files with 7 additions and 4 deletions

View File

@@ -12,8 +12,9 @@ DB.connect(config).then(()=>{
const cyan = '\x1b[36m'; // Cyan color
const underline = '\x1b[4m'; // Underlined style
console.log(`\n\tserver on port: ${PORT}`);
console.log(`\t${underline}${bright}${cyan}Open in browser: http://localhost:${PORT}${reset}`)
console.log(`\n\tserver started at: ${new Date().toLocaleString()}`);
console.log(`\tserver on port: ${PORT}`);
console.log(`\t${bright + cyan}Open in browser: ${reset}${underline + bright + cyan}http://localhost:${PORT}${reset}\n\n`)
});
});