wt-tracker icon indicating copy to clipboard operation
wt-tracker copied to clipboard

How to seed from webtorrent-hybrid with set allowOrigins?

Open brambox opened this issue 4 years ago • 2 comments

If i set /allowOrigins/ it stop everything unless it gets that origin. Is there a way to keep it, but allow somehow seeding from the webtorrent hybrid? Thank you!

brambox avatar Apr 06 '20 21:04 brambox

You can try "denyEmptyOrigin": false. See sample config: https://github.com/Novage/wt-tracker/blob/master/sample/config.json

mrlika avatar Apr 06 '20 22:04 mrlika

Thank you for the reply! I already tried that, but it doesn't connect. It only works if there is not set any allowOrigins. I was looking if there is a way to set Origin in webtorrent-hybrid, but it doesn't seem to have that build in. Maybe can be done some modification to wt-tracker to also check ip before the origin checks and if ip match to skip origin checks and allow connection that way?
Thank you!

brambox avatar Apr 07 '20 06:04 brambox

Add empty string to allowOrigins and set denyEmptyOrigin to false. It should work.

DimaDemchenko avatar Feb 16 '24 07:02 DimaDemchenko