diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fakeNitro.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fakeNitro.ts b/src/plugins/fakeNitro.ts index 669da19..f56239f 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;" }; }) |