Skip to content

Commit 22f4f53

Browse files
committed
mod: allow Sharotto to use hikari api
1 parent cc49d58 commit 22f4f53

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
"Sakura",
120120
"savedata",
121121
"setex",
122+
"Sharotto",
122123
"Shion",
123124
"shionlib",
124125
"SMEE",

app/api/hikari/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ const DOMAIN_PATTERNS = [
2626
// Galgamex
2727
/^https:\/\/([\w-]+\.)*galgamex\.net$/,
2828
/^https:\/\/([\w-]+\.)*galgamex\.top$/,
29-
/^https:\/\/([\w-]+\.)*galgamex\.com$/
29+
/^https:\/\/([\w-]+\.)*galgamex\.com$/,
30+
// Sharotto
31+
/^https:\/\/([\w-]+\.)*sharotto\.com$/
3032
]
3133

3234
const RATE_LIMIT_MAX = 10000

0 commit comments

Comments
 (0)