summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorClaudio Maradonna <penguyman@stronzi.org>2022-04-07 18:25:02 +0200
committerClaudio Maradonna <penguyman@stronzi.org>2022-07-07 06:29:01 +0200
commitfa2a6d5d6b24657ddbda4ef11d2e6dbcb59545d3 (patch)
tree27f0949fce0e47f3da6c129c0993e770da1bf95f /config/description.exs
parent29f4ab640b0269fc7751fca7c24cda5be912d1e5 (diff)
downloadpleroma-fa2a6d5d6b24657ddbda4ef11d2e6dbcb59545d3.tar.gz
pleroma-fa2a6d5d6b24657ddbda4ef11d2e6dbcb59545d3.zip
feat: simple, but not stupid, uploader for IPFS
fix: format fix with credo
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs24
1 files changed, 24 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index 7caad18b4..d87bbb9b8 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -138,6 +138,30 @@ 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: [
+ "get_gateway_url"
+ ]
+ },
+ %{
+ key: :post_gateway_url,
+ type: :string,
+ description: "POST Gateway URL",
+ suggestions: [
+ "post_gateway_url"
+ ]
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
key: Pleroma.Uploaders.S3,
type: :group,
description: "S3 uploader-related settings",