this check is broken and isnt needed anyway

This commit is contained in:
Elijah R 2024-04-03 19:47:34 -04:00
parent a54b42ee67
commit ef1d27e79e

View file

@ -74,10 +74,6 @@ public class HTTPServer
if (context.Request.Query.ContainsKey("vm"))
{
string vm = context.Request.Query["vm"];
if (Program.VMs.All(v => v.cvm.Node != vm)) {
context.Response.StatusCode = 404;
return Results.Text($"404: {vm} not found.");
}
q.VM = vm;
}
if (context.Request.Query.ContainsKey("username"))