Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Fix series url pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Oct 10, 2023
1 parent b72a226 commit 3713349
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/entries/contentScript/website/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { main as seriesMain } from '~/entries/contentScript/website/series/main';

const pairs = [{ entry: seriesMain, pattern: /^https:\/\/www\.crunchyroll\.com\/series\/.*$/ }];
const pairs = [
{ entry: seriesMain, pattern: /^https:\/\/www\.crunchyroll\.com(\/\w+)?\/series\/.*$/ }
];

function checkLocation() {
for (const { entry, pattern } of pairs) {
Expand Down

0 comments on commit 3713349

Please sign in to comment.