Skip to content

Commit 3ddb5cd

Browse files
committed
mod: allow nysoure use hikari api
1 parent a15d60d commit 3ddb5cd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
"nprogress",
7676
"Nuxt",
7777
"Nyaa",
78+
"nyne",
79+
"Nysoure",
7880
"onedrive",
7981
"opendal",
8082
"optimizelegibility",

app/api/hikari/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ const DOMAIN_PATTERNS = [
1212
/^https:\/\/([\w-]+\.)*hikarinagi\.com$/,
1313
/^https:\/\/([\w-]+\.)*hikarinagi\.org$/,
1414
// TouchGal
15-
/^https:\/\/([\w-]+\.)*touchgal\.us$/
15+
/^https:\/\/([\w-]+\.)*touchgal\.us$/,
16+
// Nysoure
17+
/^https:\/\/([\w-]+\.)*nyne\.dev$/
1618
]
1719

1820
const RATE_LIMIT_MAX = 10000

0 commit comments

Comments
 (0)