1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 13:28:33 +00:00

Add missing status handler, add TODO

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

View File

@ -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.

View File

@ -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)
{