mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
begin json db testing
This commit is contained in:
@@ -21,7 +21,7 @@ if ( settings.db === 'mysql' ) {
|
|||||||
dbh = new dbsoft();
|
dbh = new dbsoft();
|
||||||
dbh.connect();
|
dbh.connect();
|
||||||
} else {
|
} else {
|
||||||
const dbsoft = require( './nedbDB.js' );
|
const dbsoft = require( './jsondb.js' );
|
||||||
dbh = new dbsoft();
|
dbh = new dbsoft();
|
||||||
dbh.connect();
|
dbh.connect();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"init":true,"twoFA":"enforce","setupKey":"hello world","twoFAMode":"enhanced","db":"mysql","payments":"stripe","name":"libreevent","yourDomain":"http://localhost:8080","mailSender":"libreevent <info@libreevent.janishutz.com>","maxTickets":10,"currency":"CHF"}
|
{"init":true,"twoFA":"enforce","setupKey":"hello world","twoFAMode":"enhanced","db":"json","payments":"stripe","name":"libreevent","yourDomain":"http://localhost:8080","mailSender":"libreevent <info@libreevent.janishutz.com>","maxTickets":10,"currency":"CHF"}
|
||||||
Reference in New Issue
Block a user