summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-27 19:27:02 +0400
committerLain Soykaf <lain@lain.com>2024-05-27 19:27:02 +0400
commitd3e85da0fd5a0022afdabe76bd5494217205f037 (patch)
tree8a4d360d74b4c9cb183a68a40c135049f6dd5158 /config/description.exs
parentc67506ba689633cd65f266610f2cd2a5da34912b (diff)
parente93ae96e1323fae954c2ce482cbb1df9ed9441c6 (diff)
downloadpleroma-d3e85da0fd5a0022afdabe76bd5494217205f037.tar.gz
pleroma-d3e85da0fd5a0022afdabe76bd5494217205f037.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into auth-fetch-exception
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index 58d52519b..a9c285421 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -138,6 +138,31 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
+ key: Pleroma.Uploaders.IPFS,
+ type: :group,
+ description: "IPFS uploader-related settings",
+ children: [
+ %{
+ key: :get_gateway_url,
+ type: :string,
+ description: "GET Gateway URL",
+ suggestions: [
+ "https://ipfs.mydomain.com/{CID}",
+ "https://{CID}.ipfs.mydomain.com/"
+ ]
+ },
+ %{
+ key: :post_gateway_url,
+ type: :string,
+ description: "POST Gateway URL",
+ suggestions: [
+ "http://localhost:5001/"
+ ]
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
key: Pleroma.Uploaders.S3,
type: :group,
description: "S3 uploader-related settings",