Skip to content

Commit 3673faa

Browse files
committed
fix: local dev hikari api error
1 parent e37c906 commit 3673faa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/api/hikari/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { getRemoteIp } from '~/app/api/utils/getRemoteIp'
55
import type { HikariResponse } from './type'
66

77
const DOMAIN_PATTERNS = [
8-
/^http:\/\/localhost$/,
9-
/^http:\/\/127.0.0.1$/,
8+
/^http:\/\/localhost:\d+$/,
9+
/^http:\/\/127.0.0.1:\d+$/,
1010
// Hikarinagi
1111
/^https:\/\/([\w-]+\.)*himoe\.uk$/,
1212
/^https:\/\/([\w-]+\.)*hikarinagi\.com$/,

0 commit comments

Comments
 (0)