mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
修复一处可能导致training状态异常的问题
This commit is contained in:
1 parent
b5c1f41dd2
commit
a1aeb521fe
11 files changed
+52
-37
No files matched your search
@@ -14,7 +14,7 @@ export interface Result {
|
||||
display: string
|
||||
}
|
||||
|
||||
export function lookup(ip: string, locale: string): any {
|
||||
export function lookup(ip: string, locale: string) {
|
||||
const res: any = reader.get(ip);
|
||||
if (!res) return {};
|
||||
const ret: Result = { display: '' };
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/geoip",
|
||||
"version": "1.1.11",
|
||||
"version": "1.1.12",
|
||||
"main": "package.json",
|
||||
"repository": "git@github.com:hydro-dev/Hydro.git",
|
||||
"author": "undefined <masnn0@outlook.com>",
|
||||
|
||||
Reference in new issue
Block a user