mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-11 07:27:58 +00:00
add trackers.json link
This commit is contained in:
parent
d0db358eba
commit
91d7bb50d1
@ -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
|
||||
|
||||
|
@ -181,6 +181,14 @@ else if (!$userId = $db->initUserId($_SERVER['REMOTE_ADDR'], USER_DEFAULT_APPROV
|
||||
<tr>
|
||||
<td class="padding-y-8 padding-b-8 border-bottom-default text-right" colspan="2">
|
||||
<?php echo _('Trackers') ?>
|
||||
<a href="https://github.com/YGGverse/YGGtracker/blob/main/src/config/trackers.json" title="<?php echo _('Add') ?>">
|
||||
<sub class="margin-l-4">
|
||||
<svg class="width-13px" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-circle" viewBox="0 0 16 16">
|
||||
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
|
||||
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/>
|
||||
</svg>
|
||||
</sub>
|
||||
</a>
|
||||
</td>
|
||||
<?php foreach (json_decode(file_get_contents(__DIR__ . '/../config/trackers.json')) as $i => $tracker) { ?>
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user