From e93db2d65f5cbf1ca604194683194db0a70b287a Mon Sep 17 00:00:00 2001 From: Luk Date: Wed, 21 Jan 2026 14:19:48 +0800 Subject: [PATCH] u --- get_runmode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_runmode.js b/get_runmode.js index ab091bd..df0cc39 100644 --- a/get_runmode.js +++ b/get_runmode.js @@ -15,7 +15,7 @@ try { ip = '0.0.0.0' } -const result = ip.endsWith('.172') ? 'production' : ip.endsWith('.60') ? 'test' : 'development' +const result = ip.endsWith('.172') ? 'production' : ip.endsWith('.60') ? 'development' : 'development' // 直接导出结果字符串,require 时即可拿到 IP 对应的 env module.exports = result