api fixes
This commit is contained in:
@@ -39,12 +39,11 @@ if (!app.Environment.IsDevelopment())
|
||||
app.UseZero().WithEndpoints(x =>
|
||||
{
|
||||
//x.MapControllerRoute("default", "api/{controller}/{action=Index}/{id?}");
|
||||
x.MapControllers();
|
||||
x.MapRazorPages();
|
||||
x.MapZeroRoutes();
|
||||
//x.MapZeroBackoffice();
|
||||
x.MapFallbackToController("Index", "Error");
|
||||
});
|
||||
|
||||
//app.UseZeroBackoffice();
|
||||
|
||||
app.Run();
|
||||
app.Run();
|
||||
Reference in New Issue
Block a user