begin json db testing

This commit is contained in:
janis
2023-08-21 11:59:30 +02:00
parent 4bacd4aa8f
commit 6743ed778e
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
} }

View File

@@ -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"}