mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
userHome default rule
This commit is contained in:
@@ -18,3 +18,8 @@ module.exports.merge = function(baseObj, extendObj){
|
||||
return baseObj;
|
||||
}
|
||||
|
||||
|
||||
module.exports.getUserHome = function(){
|
||||
return process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user