From 47388c67da43a5c4a8793bd727e7ae532307ce84 Mon Sep 17 00:00:00 2001 From: exyi Date: Sat, 17 Oct 2020 16:26:39 +0000 Subject: [PATCH] Remove HTTPS redirect --- server/Ksp.WebServer/Startup.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/server/Ksp.WebServer/Startup.cs b/server/Ksp.WebServer/Startup.cs index 169650d..d696567 100644 --- a/server/Ksp.WebServer/Startup.cs +++ b/server/Ksp.WebServer/Startup.cs @@ -47,14 +47,7 @@ namespace Ksp.WebServer // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - else - { - app.UseHttpsRedirection(); - } + app.UseDeveloperExceptionPage(); app.UseRouting();