u
This commit is contained in:
parent
dcf554806b
commit
e93db2d65f
@ -15,7 +15,7 @@ try {
|
|||||||
ip = '0.0.0.0'
|
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
|
// 直接导出结果字符串,require 时即可拿到 IP 对应的 env
|
||||||
module.exports = result
|
module.exports = result
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user