Skip to content

Commit f5e1fb5

Browse files
committed
debug out
1 parent beaaec7 commit f5e1fb5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Tetrifact.Web/Controllers/ArchivesController.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,11 @@ public ActionResult GetArchive(string packageId, [FromQuery(Name = "ticket")] st
101101
// local (this website) downloads always allowed.
102102
if (!isLocal && _settings.MaximumSimultaneousDownloads.HasValue)
103103
{
104-
if (string.IsNullOrEmpty(ticket))
104+
if (string.IsNullOrEmpty(ticket))
105+
{
106+
_log.LogDebug($"Host is {headers.Host.Host}");
105107
return Responses.NoTicket();
108+
}
106109

107110
// check for priority tickets
108111
if (_settings.DownloadQueuePriorityTickets.Contains(ticket))

0 commit comments

Comments
 (0)