|
|
@ -46,15 +46,8 @@ 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.UseRouting(); |
|
|
|
|
|
|
|