From ef1d27e79e0510a9fecf13d6bc5eaa7a9dddeda8 Mon Sep 17 00:00:00 2001 From: Elijah R Date: Wed, 3 Apr 2024 19:47:34 -0400 Subject: [PATCH] this check is broken and isnt needed anyway --- EmperorPalpatine/HTTPServer.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/EmperorPalpatine/HTTPServer.cs b/EmperorPalpatine/HTTPServer.cs index f914699..84b5493 100644 --- a/EmperorPalpatine/HTTPServer.cs +++ b/EmperorPalpatine/HTTPServer.cs @@ -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"))