projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix deletion regression due to strings instead of atoms
[akkoma]
/
priv
/
templates
/
sample_config.eex
diff --git
a/priv/templates/sample_config.eex
b/priv/templates/sample_config.eex
index bc7e37375bf1cd0c5b34e41a14a11ada1090cb38..cdddc47eab0384cb97927cdbc2dacd0eb548da66 100644
(file)
--- a/
priv/templates/sample_config.eex
+++ b/
priv/templates/sample_config.eex
@@
-71,3
+71,7
@@
config :pleroma, Pleroma.Uploaders.Local, uploads: "<%= uploads_dir %>"
config :joken, default_signer: "<%= jwt_secret %>"
config :pleroma, configurable_from_database: <%= db_configurable? %>
+
+<%= if Kernel.length(upload_filters) > 0 do
+"config :pleroma, Pleroma.Upload, filters: #{inspect(upload_filters)}"
+end %>