Urgent correction of version v1.0.0-beta.14 due to crash issues when acting on the CDN.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-12 18:13:03 +02:00
parent aaff0ed4ea
commit 44631acfc6
27 changed files with 704 additions and 534 deletions

View File

@@ -129,10 +129,9 @@ function getAllFiles(dirPath, arrayOfFiles) {
const allFiles = getAllFiles(__dirname);
const PORT = process.env.PORT || 5053;
app.listen(PORT, () => {
const SERVER = process.env.PORT || 5053;
app.listen(SERVER, () => {
SERVER.timeout = 300000
allFiles.forEach(file => {
console.log(`[ ${chalk.green('OK')} ] Loaded file: ${file}`);
@@ -141,7 +140,7 @@ app.listen(PORT, () => {
console.clear();
if (logger) {
logger.info(`☀️ Welcome to the Content Delivery Network Server`);
logger.info(`🚀 Your server is available and running on port ${PORT}`);
logger.info(`🚀 Your server is available and running on port ${SERVER}`);
logger.info(`⚜️ Application developed by Dinawo, part of the Myaxrin Labs group`);
logger.info(`♨️ Version: ${version}`);
console.log('');