fixed interference with metrics using utils logger

pull/31/head
tycrek 3 years ago
parent f7cb01c80e
commit 8a745234d0
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -1,9 +1,12 @@
const fs = require('fs-extra');
const path = require('path');
const { s3enabled } = require('./config.json');
const { formatBytes, log } = require('./utils');
const { formatBytes } = require('./utils');
const { bucketSize } = require('./storage');
const TLog = require('@tycrek/log');
const log = new TLog({ level: 'debug', timestamp: { enabled: false } });
module.exports = () => {
const data = fs.readJsonSync(path.join(__dirname, 'data.json'));
const { users } = fs.readJsonSync(path.join(__dirname, 'auth.json'));

Loading…
Cancel
Save