Shanmugam
7 years ago
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
// These functions just return paths.
|
||||
|
|
||||
|
var list = 'etc/up-serve/servers.up'; |
||||
|
|
||||
|
function list(domain, inPort, outPort) { |
||||
|
if (inPort) { |
||||
|
return (list + ' ' + domain + ':' + outPort + ' ' + 'proxy' + ' ' + inPort); |
||||
|
} else { |
||||
|
return (list + ' ' + domain + ':' + outPort + ' ' + 'static'); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
module.exports = listFile; |
Loading…
Reference in new issue