mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 10:52:27 +00:00
Merge pull request #48 from PR0M3TH3AN/codex/add-comment-and-documentation-for-torrent-handler
Document Chrome CORS pruning workaround
This commit is contained in:
1 file changed
+2
@@ -173,6 +173,8 @@ export class TorrentClient {
|
||||
|
||||
// Handle Chrome-based browsers
|
||||
handleChromeTorrent(torrent, videoElement, resolve, reject) {
|
||||
// Prune demo web seeds/trackers that chronically trip Chromium CORS and
|
||||
// deliberately mutate `torrent._opts` as a sanctioned WebTorrent workaround.
|
||||
torrent.on("warning", (err) => {
|
||||
if (err && typeof err.message === "string") {
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user