diff --git a/src/plugins/fakeNitro.ts b/src/plugins/fakeNitro.ts index 669da191..f56239f5 100644 --- a/src/plugins/fakeNitro.ts +++ b/src/plugins/fakeNitro.ts @@ -220,7 +220,7 @@ export default definePlugin({ "(?:canStreamQuality|canStreamHighQuality|canStreamMidQuality)", ].map(func => { return { - match: new RegExp(`${func}:function\\(\\i(?:,\\i)?\\){`), + match: new RegExp(`${func}:function\\(\\i(?:,\\i)?\\){`, "g"), replace: "$&return true;" }; })