1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-03-29 21:21:15 +02:00

Server: Fixed S3 connection string record in db

This commit is contained in:
Laurent Cozic 2021-11-11 16:36:43 +00:00
parent 4fc3bcbfd7
commit 4bfb4db5f1

View File

@ -22,6 +22,8 @@ export default function(config: StorageDriverConfig, locationOnly: boolean = tru
items.push(`Type=${serializeType(config.type)}`);
if (config.path) items.push(`Path=${config.path}`);
if (config.region) items.push(`Region=${config.region}`);
if (config.bucket) items.push(`Bucket=${config.bucket}`);
if (!locationOnly && config.mode) items.push(`Mode=${serializeMode(config.mode)}`);