Skip to content

Commit 78831f6

Browse files
committed
Correct http status code set
1 parent f9c9bc8 commit 78831f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SampleApps/SampleApp.SelfHosted/Controllers/HttpErrors/Http404Controller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class Http404Controller : Controller
99
{
1010
public override ControllerResponse Invoke()
1111
{
12-
return new StaticTpl("HttpErrors/Http404", StringTable.PageTitle404);
12+
return new StaticTpl("HttpErrors/Http404", StringTable.PageTitle404, 404);
1313
}
1414
}
1515
}

0 commit comments

Comments
 (0)