fix: fix legacy 301 route

This commit is contained in:
Oliver Booth 2023-08-08 01:56:13 +01:00
parent b584bb84a2
commit 4a94a404b3
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61

View File

@ -57,7 +57,7 @@ public class Index : PageModel
if (post is not null) if (post is not null)
{ {
return Redirect($"/blog/{post.Published:yyyy/MM}/{post.Slug}"); return Redirect($"/blog/{post.Published:yyyy/MM/dd}/{post.Slug}");
} }
return NotFound(); return NotFound();