Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Explicity send no referrer headers to external requests for privacy
Gabe Kangas8751dd5e91a1
diff --git a/web/utils/apis.ts b/web/utils/apis.tsindex c737a08267..88bb7a0633 100644--- a/web/utils/apis.ts+++ b/web/utils/apis.ts@@ -118,7 +118,10 @@ export async function fetchData(url: string, options?: FetchOptions) {export async function fetchExternalData(url: string) {try {- const response = await fetch(url);+ const response = await fetch(url, {+ referrerPolicy: 'no-referrer', // Send no referrer header for privacy reasons.+ referrer: '',+ });if (!response.ok) {const message = `An error has occured: ${response.status}`;throw new Error(message);