Merge branch 'pr/32' into production

This commit is contained in:
Pas 2025-08-15 16:11:36 -06:00
commit 9feb9c943b

View file

@ -26,7 +26,7 @@ async function getAuthHeader(ctx: any): Promise<string> {
},
});
const jsFileRegex = /\/assets\/index-([a-zA-Z0-9]+)\.js/;
const jsFileRegex = /\/assets\/index-([a-zA-Z0-9-]+)\.js/;
const jsFileMatch = playerPage.match(jsFileRegex);
if (!jsFileMatch) {
throw new Error('Could not find the JS file URL in the player page');