From 95545591f2cfe3c0d07c7ca7971dcd32ee00bcf0 Mon Sep 17 00:00:00 2001 From: COOL Date: Wed, 26 Oct 2022 20:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E8=8E=B7?= =?UTF-8?q?=E5=BE=97IP=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/comm/utils.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/comm/utils.ts b/src/comm/utils.ts index 462f544..82b7cf6 100644 --- a/src/comm/utils.ts +++ b/src/comm/utils.ts @@ -31,9 +31,7 @@ export class Utils { if (!ip) { ip = await this.getReqIP(ctx); } - const bst = new ipdb.BaseStation( - `${this.baseDir}/app/comm/ipipfree.ipdb` - ); + const bst = new ipdb.BaseStation(`${this.baseDir}/comm/ipipfree.ipdb`); const result = bst.findInfo(ip, 'CN'); const addArr: any = []; if (result) {