Skip to content

Commit

Permalink
[bug] fix t0xml return not stand
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed Dec 8, 2024
1 parent 60abbea commit ece3c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/core/server/routes/v1/site/cms/adapter/t0Xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ class T0Adapter {
const { input } = doc;
let parse_url = this.playurl || '';
if (/\.(m3u8|mp4)/.test(input)) {
return JSON.stringify({
return {
parse: 0,
url: input,
});
};
} else {
if (parse_url.startsWith('json:')) {
const purl = parse_url.replace('json:', '') + input;
Expand Down

0 comments on commit ece3c11

Please sign in to comment.