Add missing status handler, add TODO

This commit is contained in:
Robert committed 2025-02-15 16:52:26 +01:00
1 parent 0a26319914
commit fcf00af130
2 files changed
+2

No files matched your search

@@ -125,6 +125,7 @@ internal class WebServerService : IWebServerService, IDisposable
LayoutBuilder serverLayout = Layout.Create()
.Add(PluginsHandler)
.Add(new StatusHandler())
.Add(CorsPolicy.Permissive());
// Add registered controllers to the API module as services.
@@ -28,6 +28,7 @@ public class RemoteController
public void BringToForeground(IRequest request)
{
// Get the route from the request content stream
// TODO: Use [FromBody] attribute instead once GenHTTP allows omitting null values
string? route = null;
if (request.Content != null)
{