mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 04:06:37 +02:00
Added support for sqlite rust backend.
This commit is contained in:
parent
4c63449a69
commit
f066c6b4a8
@ -941,11 +941,12 @@ exports.reloadSettings = () => {
|
||||
logger.warn(`${dirtyWarning} File location: ${exports.dbSettings.filename}`);
|
||||
}
|
||||
|
||||
if (exports.dbType === 'rustydb') {
|
||||
if (exports.dbType === 'rustydb' || exports.dbType === "sqlite") {
|
||||
exports.dbSettings.filename = absolutePaths.makeAbsolute(exports.dbSettings.filename);
|
||||
logger.warn(`File location: ${exports.dbSettings.filename}`);
|
||||
}
|
||||
|
||||
|
||||
if (exports.ip === '') {
|
||||
// using Unix socket for connectivity
|
||||
logger.warn('The settings file contains an empty string ("") for the "ip" parameter. The ' +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user