Skip to content

Commit

Permalink
Merge branch 'staging' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Oct 12, 2023
2 parents afe379c + 7750afe commit 88717f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/task/task.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class TasksService {
: '';

const regex = new RegExp(
`https://${subdomain_pattern}punkga\.me(\/[A-Za-z]+)?\/comic\/[0-9]+\/chapter\/[0-9]+`,
`https://${subdomain_pattern}punkga\.me(\/[A-Za-z]+)?\/comic\/[A-Za-z0-9_]+\/chapter\/[0-9]+`,
'i'
);

Expand All @@ -66,7 +66,7 @@ export class TasksService {
const arr = url
.replace(
new RegExp(
`https://${subdomain_pattern}punkga\.me(\/[A-Za-z]+)?\/comic\/`,
`https://${subdomain_pattern}punkga\.me(\/[A-Za-z0-9_]+)?\/comic\/`,
'i'
),
''
Expand Down

0 comments on commit 88717f0

Please sign in to comment.