💥 Improvements in the URL of the publication site

This commit is contained in:
2025-11-20 21:29:32 +08:00
parent 8e5cdfbc62
commit 6ed96780ab
5 changed files with 82 additions and 35 deletions

View File

@@ -47,10 +47,9 @@ using (var scope = app.Services.CreateScope())
if (!app.Environment.IsDevelopment())
app.UseExceptionHandler("/Error");
app.ConfigureAppMiddleware(builder.Configuration);
app.UseStaticFiles();
app.UseRouting();
app.ConfigureAppMiddleware(builder.Configuration);
app.MapRazorPages();
app.UseSwaggerManifest("DysonNetwork.Zone");