Update server.js to include welcome message in the logger
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-08 13:37:50 +02:00
parent 45e5055916
commit 6102b9fa64

View File

@@ -114,6 +114,7 @@ const PORT = process.env.PORT || 5053;
app.listen(PORT, () => { app.listen(PORT, () => {
console.clear(); console.clear();
if (logger) { if (logger) {
logger.info(`☀️ Welcome to the Content Delivery Network (CDN) Server`);
logger.info(`🚀 Your server is available and running on port ${PORT}`); logger.info(`🚀 Your server is available and running on port ${PORT}`);
logger.info(`⚜️ Application developed by Dinawo, part of the SwiftLogic Labs group`); logger.info(`⚜️ Application developed by Dinawo, part of the SwiftLogic Labs group`);
logger.info(`♨️ Version: ${version}`); logger.info(`♨️ Version: ${version}`);