# available: %{...}
config :pleroma, :frontends,
- primary: %{"name" => "pleroma-fe", "ref" => "develop"},
+ primary: %{"name" => "pleroma-fe", "ref" => "stable"},
+ admin: %{"name" => "admin-fe", "ref" => "stable"},
+ swagger: %{
+ "name" => "swagger-ui",
+ "ref" => "stable",
+ "enabled" => false
+ },
available: %{
"pleroma-fe" => %{
"name" => "pleroma-fe",
"git" => "https://akkoma.dev/AkkomaGang/pleroma-fe",
- "build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/akkoma-fe.zip",
- "ref" => "develop",
+ "build_url" =>
+ "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/akkoma-fe.zip",
+ "ref" => "stable",
"build_dir" => "dist"
},
# Mastodon-Fe cannot be set as a primary - this is only here so we can update this seperately
"admin-fe" => %{
"name" => "admin-fe",
"git" => "https://akkoma.dev/AkkomaGang/admin-fe",
- "build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/admin-fe.zip",
- "ref" => "develop"
+ "build_url" =>
+ "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/${ref}/admin-fe.zip",
+ "ref" => "stable"
},
"soapbox-fe" => %{
"name" => "soapbox-fe",
"https://gitlab.com/soapbox-pub/soapbox-fe/-/jobs/artifacts/${ref}/download?job=build-production",
"ref" => "v1.0.0",
"build_dir" => "static"
+ },
+ # For developers - enables a swagger frontend to view the openapi spec
+ "swagger-ui" => %{
+ "name" => "swagger-ui",
+ "git" => "https://github.com/swagger-api/swagger-ui",
+ "build_url" => "https://akkoma-updates.s3-website.fr-par.scw.cloud/frontend/swagger-ui.zip",
+ "build_dir" => "dist",
+ "ref" => "stable"
}
}