From c729594864443f44449cecd050b034d7a58153fb Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Sun, 5 Oct 2025 00:06:12 -0700 Subject: [PATCH] build: populate channel urls from gitea repo --- tvapp2/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tvapp2/index.js b/tvapp2/index.js index 62ba74b1..c5cf7359 100755 --- a/tvapp2/index.js +++ b/tvapp2/index.js @@ -1570,7 +1570,8 @@ async function serveM3U( res, req ) chalk.blueBright( `` ), chalk.gray( `${ baseUrl }/channel?url=${ encodeURIComponent( fullUrl ) }` ) ); return `${ baseUrl }/channel?url=${ encodeURIComponent( fullUrl ) }`; - }) + }); + /* .replace( /(https?:\/\/fl\d+\.moveonjoy\.com[^\s]*)/g, ( fullUrl ) => { const urlRewrite = fullUrl.replace( /fl\d+\.moveonjoy\.com/, 'fl25.moveonjoy.com' ); @@ -1582,6 +1583,7 @@ async function serveM3U( res, req ) return `${ urlRewrite }`; }); + */ res.writeHead( 200, { 'Content-Type': 'application/x-mpegURL',