Fix config

This commit is contained in:
Moe Poi ~ 2021-11-15 17:56:20 +07:00
parent a0e0e6a667
commit fe945c6a70

View file

@ -1,9 +1,11 @@
var mysql = require('mysql2');
let config;
try {
const config = require('../config');
config = require('../config');
} catch (e) {
console.log('No config file found');
process.exit(0);
}
function connect() {