Move static FE routing into its own plug.
authorPhil Hagelberg <phil@hagelb.org>
Sat, 2 Nov 2019 02:47:18 +0000 (19:47 -0700)
committerPhil Hagelberg <phil@hagelb.org>
Sun, 10 Nov 2019 02:08:08 +0000 (18:08 -0800)
commitdc3b87d153415bee6a169b4c787f79dbee74c622
tree23541a8f022936691203e21036e1f3c7c8548238
parentc6c706161e462bb6190cb4471e81e5a8c3b66d20
Move static FE routing into its own plug.

Previously it was piggybacking on FallbackRedirectController for users
and OStatusController for notices; now it's all in one place.
lib/pleroma/plugs/static_fe_plug.ex [new file with mode: 0644]
lib/pleroma/web/ostatus/ostatus_controller.ex
lib/pleroma/web/router.ex
lib/pleroma/web/static_fe/static_fe_controller.ex