diff --git a/ProjectLighthouse/Startup/DebugWarmupLifetime.cs b/ProjectLighthouse/Startup/DebugWarmupLifetime.cs index b06083ca..bfe4e7c3 100644 --- a/ProjectLighthouse/Startup/DebugWarmupLifetime.cs +++ b/ProjectLighthouse/Startup/DebugWarmupLifetime.cs @@ -37,10 +37,13 @@ public class DebugWarmupLifetime : IHostLifetime { using HttpClient client = new(); + string url = ServerSettings.Instance.ServerListenUrl; + url = url.Replace("0.0.0.0", "127.0.0.1"); + Logger.Log("Warming up Hot Reload...", LoggerLevelStartup.Instance); try { - client.GetAsync(ServerSettings.Instance.ServerListenUrl).Wait(); + client.GetAsync(url).Wait(); } catch(Exception e) {