Skip to content

Commit a1939c1

Browse files
committed
Make the CI fail with rename error.
1 parent 538b580 commit a1939c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

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

110+
app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
110111
#if (HasHttpsProfile)
111112
app.UseHttpsRedirection();
112113

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

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

104105
#if (HasHttpsProfile)
105106
app.UseHttpsRedirection();

0 commit comments

Comments
 (0)