diff options
author | lain <lain@soykaf.club> | 2020-08-03 16:39:01 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-08-03 16:39:01 +0200 |
commit | 187d9bda0f28d5cc9548abc0b81f4f34e2aaacb1 (patch) | |
tree | 426aa5e1d277932e896667a867ffc39616ecd0fa | |
parent | 7e01339dddf78d99f609fdac934e89724f8254c3 (diff) | |
download | pleroma-187d9bda0f28d5cc9548abc0b81f4f34e2aaacb1.tar.gz pleroma-187d9bda0f28d5cc9548abc0b81f4f34e2aaacb1.zip |
Description: Add new fields for frontend configuration.
-rw-r--r-- | config/description.exs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index b96fe9705..969d50a1d 100644 --- a/config/description.exs +++ b/config/description.exs @@ -3515,6 +3515,23 @@ config :pleroma, :config_description, [ key: "ref", type: :string, description: "reference of the installed primary frontend to be used" + }, + %{ + key: "git", + type: :string, + description: "URL of the git repository of the frontend" + }, + %{ + key: "build_url", + type: :string, + description: + "Either an url to a zip file containing the frontend or a template to build it by inserting the `ref`. The string `${ref}` will be replaced by the configured `ref`.", + example: "https://some.url/builds/${ref}.zip" + }, + %{ + key: "build_dir", + type: :string, + description: "The directory inside the zip file " } ] }, @@ -3532,6 +3549,23 @@ config :pleroma, :config_description, [ key: "ref", type: :string, description: "reference of the installed Admin frontend to be used" + }, + %{ + key: "git", + type: :string, + description: "URL of the git repository of the frontend" + }, + %{ + key: "build_url", + type: :string, + description: + "Either an url to a zip file containing the frontend or a template to build it by inserting the `ref`. The string `${ref}` will be replaced by the configured `ref`.", + example: "https://some.url/builds/${ref}.zip" + }, + %{ + key: "build_dir", + type: :string, + description: "The directory inside the zip file " } ] } |