fix: remove stdout diagnostic print

This commit is contained in:
Oliver Booth 2023-08-10 22:52:43 +01:00
parent 74e7187cba
commit d6c24d80c1
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using Humanizer;
using Humanizer;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Primitives;
using OliverBooth.Data.Blog;
@ -29,7 +29,6 @@ public sealed class BlogApiController : ControllerBase
if (take == -1) take = _blogService.AllPosts.Count;
var referer = Request.Headers["Referer"].ToString();
Console.WriteLine($"Referer: {referer}");
if (!referer.StartsWith(Url.PageLink("/Blog/Index")!))
{
return NotFound();