V1.0.0-beta.16 Update 4
Note: We appreciate your feedback and bug reports to continue improving our platform. Thank you for your continued support!
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user