summaryrefslogtreecommitdiff
path: root/lib/lsg_web/router.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-04 13:06:21 +0200
committerhref <href@random.sh>2021-09-04 13:06:31 +0200
commit0c7f2dbab3f6986213472ed6fd2d01fe371f7366 (patch)
tree42fa48495e3e3f9f4efb6a4de2391f50bad8f5ad /lib/lsg_web/router.ex
parentmatrix appservice, puppet improvements (diff)
matrix: fixes
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/router.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsg_web/router.ex b/lib/lsg_web/router.ex
index dc49c9f..e872cef 100644
--- a/lib/lsg_web/router.ex
+++ b/lib/lsg_web/router.ex
@@ -56,13 +56,13 @@ defmodule LSGWeb.Router do
get "/:network/:chan/alcoolog/t/:token", AlcoologController, :token
end
- scope "/_matrix/appservice", MatrixAppServiceWeb.V1, as: :matrix do
+ scope "/_matrix/:appservice", MatrixAppServiceWeb.V1, as: :matrix do
pipe_through :matrix_app_service
put "/transactions/:txn_id", TransactionController, :push
get "/users/:user_id", UserController, :query
- get "/rooms/:room_alias", RoomController, :query
+ get "/rooms/*room_alias", RoomController, :query
get "/thirdparty/protocol/:protocol", ThirdPartyController, :query_protocol
get "/thirdparty/user/:protocol", ThirdPartyController, :query_users