mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-12 14:37:17 +03:00
import config
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
var MysqlInterface = require('sync-mysql');
|
||||
var config = require('../config.js');
|
||||
|
||||
class Mysql {
|
||||
constructor(config) {
|
||||
this.connection = new MysqlInterface(config);
|
||||
constructor(msConfig) {
|
||||
this.connection = new MysqlInterface(msConfig);
|
||||
}
|
||||
|
||||
exec(query) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
const { db } = require("./databases");
|
||||
var config = require('../config.js');
|
||||
|
||||
class Sqlite {
|
||||
constructor(connection) {
|
||||
|
||||
Reference in New Issue
Block a user