Skip to content

Commit 603cba8

Browse files
committed
mod: allow galgamex to use hikari apis
1 parent 79f8045 commit 603cba8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"Galgame",
4646
"Galgamer",
4747
"galgames",
48+
"Galgamex",
4849
"ggbases",
4950
"GIGA",
5051
"Hentai",

app/api/hikari/route.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ const DOMAIN_PATTERNS = [
2222
/^https:\/\/([\w-]+\.)*kungal\.com$/,
2323
/^https:\/\/([\w-]+\.)*kungal\.org$/,
2424
// LycorisGal
25-
/^https:\/\/([\w-]+\.)*lycorisgal\.com$/
25+
/^https:\/\/([\w-]+\.)*lycorisgal\.com$/,
26+
// Galgamex
27+
/^https:\/\/([\w-]+\.)*galgamex\.net$/,
28+
/^https:\/\/([\w-]+\.)*galgamex\.top$/,
29+
/^https:\/\/([\w-]+\.)*galgamex\.com$/
2630
]
2731

2832
const RATE_LIMIT_MAX = 10000

0 commit comments

Comments
 (0)