From 68ffad06a6cfd2cd2015ab03fb82bf69629dd7ec Mon Sep 17 00:00:00 2001 From: ivar Date: Tue, 2 Dec 2025 22:38:23 +0100 Subject: Move off razor pages --- api/WhatApi/Endpoints/GetUploadPageEndpoint.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 api/WhatApi/Endpoints/GetUploadPageEndpoint.cs (limited to 'api/WhatApi/Endpoints/GetUploadPageEndpoint.cs') diff --git a/api/WhatApi/Endpoints/GetUploadPageEndpoint.cs b/api/WhatApi/Endpoints/GetUploadPageEndpoint.cs new file mode 100644 index 0000000..ea14819 --- /dev/null +++ b/api/WhatApi/Endpoints/GetUploadPageEndpoint.cs @@ -0,0 +1,12 @@ +using WhatApi.Templates; + +namespace WhatApi.Endpoints; + +public class GetUploadPageEndpoint : BaseEndpoint +{ + + [HttpGet("~/upload")] + public ActionResult GetMapPage() { + return Content(TemplateFulfiller.WebUploadPage(), "text/html"); + } +} \ No newline at end of file -- cgit v1.3