first running version

This commit is contained in:
2018-10-23 00:41:44 +02:00
parent 7665e5c49c
commit e00f131cc9
4 changed files with 8 additions and 5 deletions

View File

@@ -25,7 +25,9 @@ namespace tv7playlist
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
services
.AddMvc()
.SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
@@ -39,8 +41,6 @@ namespace tv7playlist
{
app.UseHsts();
}
app.UseHttpsRedirection();
app.UseMvc();
}
}