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) {