summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-12-17 22:50:59 +0100
committerhref <href@random.sh>2018-12-17 22:50:59 +0100
commitb1860fe85af1d32de937f466ba65d03614952e31 (patch)
tree9b1239247d38a2aaa60627fc9bd4db44ed67d136 /config
parent3879500c87829a5cf1377ca7ccdb7bf92c75367f (diff)
downloadpleroma-b1860fe85af1d32de937f466ba65d03614952e31.tar.gz
pleroma-b1860fe85af1d32de937f466ba65d03614952e31.zip
Instance/Static runtime plug
This allows to set-up an arbitrary directory which overrides most of the static files: index.html static/ emoji/ packs/ sounds/ images/ instance/ favicon.png. If the files are not present in the directory, the bundled ones in priv/static will be used.
Diffstat (limited to 'config')
-rw-r--r--config/config.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 036f1ac0b..e4b31bf81 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -110,6 +110,7 @@ config :pleroma, :instance,
public: true,
quarantined_instances: [],
managed_config: true,
+ static_dir: "instance/static/",
allowed_post_formats: [
"text/plain",
"text/html",