mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-11-15 16:50:04 +01:00
Add trackers
This commit is contained in:
@@ -54,7 +54,7 @@ public class DownloadController : Controller
|
||||
{
|
||||
var t = await voidFile.Metadata!.MakeTorrent(
|
||||
await _storage.Open(new(gid, Enumerable.Empty<RangeRequest>()), CancellationToken.None),
|
||||
_settings.SiteUrl);
|
||||
_settings.SiteUrl, _settings.TorrentTrackers);
|
||||
|
||||
Response.Headers.ContentDisposition = $"inline; filename=\"{id}\"";
|
||||
Response.ContentType = "application/x-bittorent";
|
||||
|
||||
Reference in New Issue
Block a user