Limit of CSP Fetch Allowlist

I’m trying to make an extension that integrates with PeerTube. The extension interacts with the PeerTube instance specified by the streamer in configuration.

However, with PeerTube being a decentralized video platform, there are way too many domains to put in the allowlist. At the time of writing, there are 1368 instances. Even after filtering out instances that don’t support streaming, there are still 800+ of them.

I tried to put them all in the input box but upon saving it just gave me an error. I have tried to only input 100 of them and that also gave an error.

I also tried wildcards (*, *.*, https://*.*, wss://*.*) but they either yield error or don’t act as a wildcard, which I guess is intended because wildcards would definitely be a security concern.

Is there any way around this?

Yeah that wouldn’t pass review anyway.

Only if you were not using PeerTube.

If you can route via your EBS instead then that might work.