From a1bd960b85f74c80950310ea5cf49364f2f28164 Mon Sep 17 00:00:00 2001 From: ytshih Date: Thu, 5 Dec 2024 09:48:17 +0000 Subject: [PATCH] Fix(hedgedoc): change image upload type --- hedgedoc/config.json | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/hedgedoc/config.json b/hedgedoc/config.json index 7806e25..cef15b8 100644 --- a/hedgedoc/config.json +++ b/hedgedoc/config.json @@ -10,6 +10,7 @@ "allowEmailRegister": false, "defaultPermission": "limited", "allowAnonymous": false, + "imageUploadType": "minio", "hsts": { "enable": true, "maxAgeSeconds": 31536000, @@ -38,14 +39,12 @@ "useridField": "uid", "tlsca": "/etc/hedgedoc/rootca.pem" }, - "s3": { - "accessKeyId": "********", - "secretAccessKey": "********", - "region": "us-west-1" - }, - "s3bucket": { - "bucket": "hedgedoc", - "endpointenv": "minio.konchin.com" + "minio": { + "accessKey": "********", + "secretKey": "********", + "endpoint": "minio.konchin.com", + "port": "443", + "secure": true } } }