Skip to content

Commit d9d3cf5

Browse files
Copilotilonatommy
andcommitted
Remove UseStatusCodePagesWithReExecute calls from template files
Co-authored-by: ilonatommy <[email protected]>
1 parent e2f9c56 commit d9d3cf5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Program.Main.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ public static void Main(string[] args)
107107
#endif
108108
}
109109

110-
app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
111-
112110
#if (HasHttpsProfile)
113111
app.UseHttpsRedirection();
114112

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
app.UseHsts();
101101
#endif
102102
}
103-
app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
104103

105104
#if (HasHttpsProfile)
106105
app.UseHttpsRedirection();

0 commit comments

Comments
 (0)