projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Expose /manifest.json for PWA
[akkoma]
/
lib
/
pleroma
/
web
/
router.ex
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index efca7078a178344c091e17ac61f748bee68e65ba..c3b74e622efa34c21703d1ddf58f0dc311509863 100644
(file)
--- a/
lib/pleroma/web/router.ex
+++ b/
lib/pleroma/web/router.ex
@@
-750,6
+750,12
@@
defmodule Pleroma.Web.Router do
get("/web/manifest.json", MastoFEController, :manifest)
end
+ scope "/", Pleroma.Web do
+ pipe_through(:api)
+
+ get("/manifest.json", ManifestController, :show)
+ end
+
scope "/", Pleroma.Web do
pipe_through(:mastodon_html)