Nice little directory browser :D
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use Results.NotFound instead of just setting error code

+1 -1
+1 -1
Program.cs
··· 105 105 var resolved = Utils.VerifyPath(context.Request.Path); 106 106 107 107 if (resolved.IsFailed) { 108 - context.Response.StatusCode = StatusCodes.Status404NotFound; 108 + await Results.NotFound().ExecuteAsync(context); 109 109 return; 110 110 } 111 111