one more file to add to the backup patch

pull/36/head
Ro 4 years ago
parent debaad2bca
commit 7bfb13bc1f

@ -4,6 +4,7 @@ const router = express.Router();
const FileHound = require('filehound');
const fs = require('fs-extra');
const settings = new Settings();
const moment = require('moment');
var config = [];
//--------------------------
// SETTINGS
@ -39,6 +40,7 @@ router.get('/', function (req, res) {
status: true,
themes: themes,
settings: config,
last_backup: moment(config.global.last_backup).fromNow(),
member: memberInfo[0]
});
} else {

Loading…
Cancel
Save