This commit is contained in:
2021-09-05 18:55:38 +01:00
parent 95aae91156
commit 066c038e4d
5 changed files with 59 additions and 43 deletions

View File

@ -103,14 +103,12 @@ namespace isnd
app.UseDeveloperExceptionPage();
dbContext.Database.Migrate();
}
app.UseStatusCodePages().UseStaticFiles().UseAuthentication().UseMvc(routes =>
{
routes.MapRoute(
name: "default",
template: "{controller=Packages}/{action=Index}/{query?}");
template: "{controller=Home}/{action=Index}");
});
}
}