V1.0.0-beta.16 Update 4
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed

Note: We appreciate your feedback and bug reports to continue improving our platform. Thank you for your continued support!
This commit is contained in:
2024-10-27 17:32:16 +01:00
parent 6f04cde187
commit 710ff642e0
2 changed files with 4 additions and 5 deletions

View File

@@ -4,9 +4,8 @@
"description": "", "description": "",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"start": "nodemon server.js", "start": "node server.js",
"prod": "node server.js", "nodemon": "nodemon server.js"
"no-nodemon": "node server.js"
}, },
"author": "Dinawo - Group Myaxrin Labs", "author": "Dinawo - Group Myaxrin Labs",
"license": "ISC", "license": "ISC",

View File

@@ -16,6 +16,7 @@ const chalk = require('chalk');
require('dotenv').config(); require('dotenv').config();
const app = express(); const app = express();
require('./models/fileCreated.js'); require('./models/fileCreated.js');
let setup; let setup;
@@ -67,7 +68,6 @@ app.use(routes);
app.use(logRequestInfo); app.use(logRequestInfo);
cron.schedule('00 03 * * *', async () => { cron.schedule('00 03 * * *', async () => {
try { try {
const report = await SystemReport.generate(); const report = await SystemReport.generate();
@@ -134,7 +134,7 @@ app.listen(SERVER, () => {
SERVER.timeout = 300000 SERVER.timeout = 300000
allFiles.forEach(file => { allFiles.forEach(file => {
console.log(`[ ${chalk.green('OK')} ] Loaded file: ${file}`); console.log(`[ ${chalk.green('OK')} ] Loaded file: ${file}`);
}); });
console.clear(); console.clear();