diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-12 14:31:04 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-12 14:31:04 +0300 |
commit | 19ad94405695af366fc08bafc14ce306a44806d4 (patch) | |
tree | 42d5f8f1cc4e0331003b30a9ca0f5257c9e1a938 /config | |
parent | bf95bf34927f45b891c805797be454c06f34f8ff (diff) | |
download | pleroma-frontend-dl-task.tar.gz |
frontends dirfrontend-dl-task
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 1 | ||||
-rw-r--r-- | config/description.exs | 8 | ||||
-rw-r--r-- | config/test.exs | 3 |
3 files changed, 11 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 2cd741213..a047be90f 100644 --- a/config/config.exs +++ b/config/config.exs @@ -233,6 +233,7 @@ config :pleroma, :instance, quarantined_instances: [], managed_config: true, static_dir: "instance/static/", + frontends_dir: "instance/frontends/", allowed_post_formats: [ "text/plain", "text/html", diff --git a/config/description.exs b/config/description.exs index 9fdcfcd96..1a272ec84 100644 --- a/config/description.exs +++ b/config/description.exs @@ -733,6 +733,14 @@ config :pleroma, :config_description, [ ] }, %{ + key: :frontends_dir, + type: :string, + description: "Instance frontends directory", + suggestions: [ + "instance/frontends/" + ] + }, + %{ key: :allowed_post_formats, type: {:list, :string}, description: "MIME-type list of formats allowed to be posted (transformed into HTML)", diff --git a/config/test.exs b/config/test.exs index a17886265..33f4322f8 100644 --- a/config/test.exs +++ b/config/test.exs @@ -33,7 +33,8 @@ config :pleroma, :instance, skip_thread_containment: false, federating: false, external_user_synchronization: false, - static_dir: "test/instance_static/" + static_dir: "test/instance_static/", + frontends_dir: "test/instance_static/frontends" config :pleroma, :activitypub, sign_object_fetches: false |