summaryrefslogtreecommitdiffstats
path: root/api/WhatApi/Endpoints/GetMapPageEndpoint.cs
diff options
context:
space:
mode:
Diffstat (limited to 'api/WhatApi/Endpoints/GetMapPageEndpoint.cs')
-rw-r--r--api/WhatApi/Endpoints/GetMapPageEndpoint.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/WhatApi/Endpoints/GetMapPageEndpoint.cs b/api/WhatApi/Endpoints/GetMapPageEndpoint.cs
new file mode 100644
index 0000000..833a98c
--- /dev/null
+++ b/api/WhatApi/Endpoints/GetMapPageEndpoint.cs
@@ -0,0 +1,12 @@
+using WhatApi.Templates;
+
+namespace WhatApi.Endpoints;
+
+public class GetMapPageEndpoint : BaseEndpoint
+{
+
+ [HttpGet("~/map")]
+ public ActionResult GetMapPage() {
+ return Content(TemplateFulfiller.WebMapPage(), "text/html");
+ }
+} \ No newline at end of file