diff options
author | lain <lain@soykaf.club> | 2020-07-29 13:06:51 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-07-29 13:06:51 +0200 |
commit | 54afb35685d5fca6056cc3c7f40c946aa02dc9a7 (patch) | |
tree | 6096962dd684ceee34c9dfc3f4b1e5a9437021db /docs | |
parent | e2f82968e87de20502ed46ad0f0392ae04f89819 (diff) | |
download | pleroma-54afb35685d5fca6056cc3c7f40c946aa02dc9a7.tar.gz pleroma-54afb35685d5fca6056cc3c7f40c946aa02dc9a7.zip |
Cheatsheet: Update frontends information.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/cheatsheet.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 2a25a024a..58bf787c8 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -1051,11 +1051,11 @@ Control favicons for instances. Frontends in Pleroma are swappable - you can specify which one to use here. -For now, you can set a frontend with the key `primary` and the options of `name` and `ref`. This will then make Pleroma serve the frontend from a folder constructed by concatenating the instance static path, `frontends` and the name and ref. +You can set a frontends for the key `primary` and `admin` and the options of `name` and `ref`. This will then make Pleroma serve the frontend from a folder constructed by concatenating the instance static path, `frontends` and the name and ref. -The key `primary` refers to the frontend that will be served by default for general requests. In the future, other frontends like the admin frontend will also be configurable here. +The key `primary` refers to the frontend that will be served by default for general requests. The key `admin` refers to the frontend that will be served at the `/pleroma/admin` path. -If you don't set anything here, the bundled frontend will be used. +If you don't set anything here, the bundled frontends will be used. Example: @@ -1064,6 +1064,10 @@ config :pleroma, :frontends, primary: %{ "name" => "pleroma", "ref" => "stable" + }, + admin: %{ + "name" => "admin", + "ref" => "develop" } ``` |