Skip to content

Commit

Permalink
Merge pull request #123 from Ciarands/dev
Browse files Browse the repository at this point in the history
Fix filemoon
  • Loading branch information
JorrinKievit authored Mar 28, 2024
2 parents 943c8b8 + be5ba8f commit 234209e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/embeds/filemoon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const fileMoonScraper = makeEmbed({
referer: ctx.url,
},
});
const evalCode = evalCodeRegex.exec(embedRes);
const evalCode = embedRes.match(evalCodeRegex);
if (!evalCode) throw new Error('Failed to find eval code');
const unpacked = unpack(evalCode[1]);
const file = fileRegex.exec(unpacked);
Expand Down

0 comments on commit 234209e

Please sign in to comment.