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.
This commit is contained in:
href 2018-12-17 22:50:59 +01:00
commit b1860fe85a
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
7 changed files with 107 additions and 3 deletions

View file

@ -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",