summaryrefslogtreecommitdiff
path: root/src/Router
diff options
context:
space:
mode:
Diffstat (limited to 'src/Router')
-rw-r--r--src/Router/routes_client_server.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Router/routes_client_server.php b/src/Router/routes_client_server.php
index a0b117b..8979af5 100644
--- a/src/Router/routes_client_server.php
+++ b/src/Router/routes_client_server.php
@@ -46,4 +46,9 @@ return function (RouteConfigurator $routes): void
->add("matrix_client_v3_sync", "/_matrix/client/v3/sync")
->controller([SyncController::class, "sync"])
->methods(["GET"]);
+
+ $routes
+ ->add("matrix_client_v3_refresh", "/_matrix/client/v3/refresh")
+ ->controller([KeyController::class, "refresh"])
+ ->methods(["POST"]);
};