From 8163b78da5c005010a5b085c700f2c7af641ffe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Birm=C3=A9?= Date: Thu, 11 Jul 2024 09:49:08 +0200 Subject: [PATCH] fix: use IP instead of localhost --- src/encoder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoder.ts b/src/encoder.ts index 2077773..ae3806c 100644 --- a/src/encoder.ts +++ b/src/encoder.ts @@ -244,7 +244,7 @@ export class Encoder { ); if (outputDest) { const source = new URL( - `http://localhost:${this.opts.originPort}/origin/hls/index.m3u8` + `http://127.0.0.1:${this.opts.originPort}/origin/hls/index.m3u8` ); this.fetcherId = this.pullPush.startFetcher({ name: 'default',