Skip to content

Commit 7a4b463

Browse files
committed
Remove renaming from tempaltes to fix CI's *Locally.ps1 tests.
1 parent 0673208 commit 7a4b463

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

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

110-
app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
110+
app.UseStatusCodePagesWithReExecute("/not-found", createScopeForErrors: true);
111111

112112
#if (HasHttpsProfile)
113113
app.UseHttpsRedirection();

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

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

105105
#if (HasHttpsProfile)
106106
app.UseHttpsRedirection();

0 commit comments

Comments
 (0)