From d0c8920b9894b0d7f0b69db8a67fa3ad5dc67e27 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Tue, 30 Sep 2025 22:52:56 -0700 Subject: [PATCH] fix(m3u): source 3 offline due to dns change --- tvapp2/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tvapp2/index.js b/tvapp2/index.js index cb5ab6c4..16bf2156 100755 --- a/tvapp2/index.js +++ b/tvapp2/index.js @@ -1692,12 +1692,12 @@ async function serveM3U( res, req ) return `${ baseUrl }/channel?url=${ encodeURIComponent( fullUrl ) }`; }) - .replace( /(https?:\/\/[^\s]*fl2.moveonjoy[^\s]*)/g, ( fullUrl ) => + .replace( /(https?:\/\/fl\d+\.moveonjoy\.com[^\s]*)/g, ( fullUrl ) => { - const urlRewrite = fullUrl.replace( 'fl2.moveonjoy', 'fl6.moveonjoy' ); + const urlRewrite = fullUrl.replace( /fl\d+\.moveonjoy\.com/, 'fl25.moveonjoy.com' ); Log.debug( `.m3u`, chalk.yellow( `[rewriter]` ), chalk.white( `⚙️` ), chalk.blueBright( `` ), chalk.gray( `Rewriting url for keyword` ), - chalk.blueBright( `` ), chalk.gray( `*fl2.moveonjoy` ), + chalk.blueBright( `` ), chalk.gray( `*fl1.moveonjoy` ), chalk.blueBright( `` ), chalk.gray( `${ fullUrl }` ), chalk.blueBright( `` ), chalk.gray( `${ urlRewrite }` ) );