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