add masto settings to FE
ci/woodpecker/push/docs Pipeline is pending Details
ci/woodpecker/push/release Pipeline is pending Details
ci/woodpecker/push/test Pipeline is pending Details
ci/woodpecker/pr/docs Pipeline is pending Details
ci/woodpecker/pr/release Pipeline is pending Details
ci/woodpecker/pr/test Pipeline is pending Details

This commit is contained in:
FloatingGhost 2022-07-20 21:13:09 +01:00
parent 8d3eaacff2
commit ecb80865fa
2 changed files with 9 additions and 2 deletions

View File

@ -710,6 +710,7 @@ config :pleroma, :static_fe, enabled: false
config :pleroma, :frontends, config :pleroma, :frontends,
primary: %{"name" => "pleroma-fe", "ref" => "stable"}, primary: %{"name" => "pleroma-fe", "ref" => "stable"},
admin: %{"name" => "admin-fe", "ref" => "stable"}, admin: %{"name" => "admin-fe", "ref" => "stable"},
mastodon: %{"name" => "mastodon-fe", "ref" => "akkoma"},
swagger: %{ swagger: %{
"name" => "swagger-ui", "name" => "swagger-ui",
"ref" => "stable", "ref" => "stable",
@ -728,9 +729,9 @@ config :pleroma, :frontends,
"mastodon-fe" => %{ "mastodon-fe" => %{
"name" => "mastodon-fe", "name" => "mastodon-fe",
"git" => "https://akkoma.dev/AkkomaGang/masto-fe", "git" => "https://akkoma.dev/AkkomaGang/masto-fe",
"build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/masto-fe.zip", "build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/masto-fe.zip",
"build_dir" => "distribution", "build_dir" => "distribution",
"ref" => "develop" "ref" => "akkoma"
}, },
"admin-fe" => %{ "admin-fe" => %{
"name" => "admin-fe", "name" => "admin-fe",

View File

@ -2991,6 +2991,12 @@ config :pleroma, :config_description, [
description: "Admin frontend", description: "Admin frontend",
children: installed_frontend_options children: installed_frontend_options
}, },
%{
key: :mastodon,
type: :map,
description: "Mastodon frontend",
children: installed_frontend_options
},
%{ %{
key: :swagger, key: :swagger,
type: :map, type: :map,