add masto-fe docs

This commit is contained in:
FloatingGhost 2022-08-11 17:43:34 +01:00
parent 8bca9a7dbe
commit 74dbea4cf8

View file

@ -283,14 +283,19 @@ config :pleroma, :frontends,
"name" => "swagger-ui", "name" => "swagger-ui",
"ref" => "stable", "ref" => "stable",
"enabled" => true "enabled" => true
} },
mastodon: %{
"name" => "mastodon-fe",
"ref" => "akkoma"
}
``` ```
* `:primary` - The frontend that will be served at `/` * `:primary` - The frontend that will be served at `/`
* `:admin` - The frontend that will be served at `/pleroma/admin` * `:admin` - The frontend that will be served at `/pleroma/admin`
* `:swagger` - Config for developers to act as an API reference to be served at `/akkoma/swaggerui/` (trailing slash _needed_). Disabled by default. * `:swagger` - Config for developers to act as an API reference to be served at `/akkoma/swaggerui/` (trailing slash _needed_). Disabled by default.
* `:mastodon` - The mastodon-fe configuration. This shouldn't need to be changed. This is served at `/web` when installed.
### :static_fe ### :static\_fe
Render profiles and posts using server-generated HTML that is viewable without using JavaScript. Render profiles and posts using server-generated HTML that is viewable without using JavaScript.