💄 Optimize the page rendering in zone
This commit is contained in:
@@ -11,8 +11,7 @@ builder.AddServiceDefaults();
|
||||
|
||||
builder.ConfigureAppKestrel(builder.Configuration);
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddRazorPages();
|
||||
builder.Services.AddRazorPages(options => options.Conventions.AddPageRoute("/Index", "{**path}"));
|
||||
builder.Services.AddControllers();
|
||||
|
||||
builder.Services.AddAppServices();
|
||||
@@ -54,4 +53,4 @@ app.MapRazorPages();
|
||||
|
||||
app.UseSwaggerManifest("DysonNetwork.Zone");
|
||||
|
||||
app.Run();
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user