Skip to content

Commit 91cd0b4

Browse files
committed
added 404 configurations
1 parent 94eacd6 commit 91cd0b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HRManagementSystem.UI/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ void Configure(WebApplication app, IWebHostEnvironment env)
6969
app.UseAuthorization();
7070

7171
app.UseAuthorization();
72-
72+
app.UseStatusCodePagesWithReExecute("/Error/NotFoundPage");
7373
app.MapDefaultControllerRoute();
7474
}

0 commit comments

Comments
 (0)