1 files changed, 0 insertions, 23 deletions
diff --git a/MxApiExtensions/Controllers/WellKnownController.cs b/MxApiExtensions/Controllers/WellKnownController.cs
deleted file mode 100644
index b27451f..0000000
--- a/MxApiExtensions/Controllers/WellKnownController.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System.Text.Json.Nodes;
-using Microsoft.AspNetCore.Mvc;
-
-namespace MxApiExtensions.Controllers;
-
-[ApiController]
-[Route("/")]
-public class WellKnownController : ControllerBase {
- private readonly MxApiExtensionsConfiguration _config;
-
- public WellKnownController(MxApiExtensionsConfiguration config) {
- _config = config;
- }
-
- [HttpGet("/.well-known/matrix/client")]
- public object GetWellKnown() {
- var res = new JsonObject();
- res.Add("m.homeserver", new JsonObject {
- { "base_url", Request.Scheme + "://" + Request.Host + "/" },
- });
- return res;
- }
-}
|