From 91d7bb50d1ec71fe5f8b146f68c81f92b5bae3a2 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 31 Aug 2023 22:31:31 +0300 Subject: [PATCH] add trackers.json link --- README.md | 4 ++-- src/public/node.php | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 466f22d..30f2db0 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ YGGtracker uses [Yggdrasil](https://github.com/yggdrasil-network/yggdrasil-go) I #### Trackers -Initial trackers defined in [trackers.json](#). +Open trackers defined in [trackers.json](https://github.com/YGGverse/YGGtracker/blob/main/src/config/trackers.json) * Application appends trackers to all download links and magnet forms * Trackers not in list will be cropped by the application filter -* Feel free to PR new yggdrasil tracker instance! +* Feel free to PR new yggdrasil tracker! #### Requirements diff --git a/src/public/node.php b/src/public/node.php index 2fe437b..b30acc7 100644 --- a/src/public/node.php +++ b/src/public/node.php @@ -181,6 +181,14 @@ else if (!$userId = $db->initUserId($_SERVER['REMOTE_ADDR'], USER_DEFAULT_APPROV + + + + + + + + $tracker) { ?>