summaryrefslogtreecommitdiff
path: root/src/routes.php
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2025-08-13 10:45:10 +0200
committerDaniel Weipert <git@mail.dweipert.de>2025-08-13 10:46:40 +0200
commitbeb68ad3ddc48f9e913815e0e18f11965201f32e (patch)
treec8f3cdabedb6f2635bd0f5378bc5e426ba8c5f65 /src/routes.php
parent6b7e857f21bef9ba71ac36c202678ec0d84eeff5 (diff)
whitespace :]
Diffstat (limited to 'src/routes.php')
-rw-r--r--src/routes.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/routes.php b/src/routes.php
index 25e2e1f..21113dc 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -12,30 +12,30 @@ return function (RouteConfigurator $routes): void
->add("well_known_matrix_server", "/.well-known/matrix/server")
->controller([ServerDiscoveryController::class, "server"])
->methods(["GET"]);
-
+
$routes
->add("well_known_matrix_client", "/.well-known/matrix/client")
->controller([ServerDiscoveryController::class, "client"])
->methods(["GET"]);
-
+
$routes
->add("well_known_matrix_support", "/.well-known/matrix/support")
->controller([ServerDiscoveryController::class, "support"])
->methods(["GET"]);
-
+
$routes
->add("matrix_federation_version", "/_matrix/federation/v1/version")
->controller([ServerImplementationController::class, "version"])
->methods(["GET"]);
-
+
$routes
->add("matrix_client_versions", "/_matrix/client/versions")
->controller([ServerImplementationController::class, "versions"])
->methods(["GET"]);
-
+
# /_matrix/key/v2/server
# /_matrix/key/v2/query
# /_matrix/key/v2/query/{serverName}
-
-
+
+
};