Merge pull request #231 from PR0M3TH3AN/codex/update-wss-tracker-urls-in-constants

Refresh default WSS trackers
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-01 20:04:58 -04:00
commit 297fbb2450
2 files changed
+4 -5

No files matched your search

+2 -1
View File
@@ -4,8 +4,9 @@ const DEFAULT_FLAGS = Object.freeze({
VIEW_FILTER_INCLUDE_LEGACY_VIDEO: false,
WSS_TRACKERS: Object.freeze([
"wss://tracker.openwebtorrent.com",
"wss://tracker.btorrent.xyz",
"wss://tracker.fastcast.nz",
"wss://tracker.webtorrent.dev",
"wss://tracker.sloppyta.co:443/announce",
]),
});
+2 -4
View File
@@ -1,11 +1,9 @@
//js/webtorrent.js
import WebTorrent from "./webtorrent.min.js";
import { WSS_TRACKERS } from "./constants.js";
const DEFAULT_PROBE_TRACKERS = Object.freeze([
"wss://tracker.btorrent.xyz",
"wss://tracker.openwebtorrent.com",
]);
const DEFAULT_PROBE_TRACKERS = Object.freeze([...WSS_TRACKERS]);
function decodeComponentSafe(value) {
if (typeof value !== "string") {