Skip to content

Commit 565a6f0

Browse files
committed
fix: regex for old urls
~2014
1 parent 42841af commit 565a6f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/site/nude-moon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { useInit } from 'main';
99

1010
(async () => {
11-
const isMangaPage = () => location.pathname.match(/^\/[0-9]+--/) !== null;
11+
const isMangaPage = () => location.pathname.match(/^\/[0-9]+-/) !== null;
1212

1313
const original = async () => {
1414
const url = new URL(location.href);

0 commit comments

Comments
 (0)