-
Notifications
You must be signed in to change notification settings - Fork 62
Conversation
Hey qibobo! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/150287500 The labels on this github issue will be updated when the story is started. |
api/lib/config/setting.js
Outdated
if (settings.publicPort < 1 || settings.publicPort > 65535) { | ||
return {valid:false,message:"value of publicPort must between 1 and 65535"}; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about add a check for public port != internal port ?
api/app.js
Outdated
@@ -77,20 +101,35 @@ module.exports = function(configFilePath) { | |||
}); | |||
} | |||
|
|||
var publicServer; | |||
if(settings.publicTls){ | |||
publicServer = https.createServer(publicOptions, app).listen(publicPort || 3002, function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about using different default port?
@cdlliuy fixed. |
[#145833985]
[#145833985]
LGTM |
api/lib/config/setting.js
Outdated
return {valid:false,message:"publicPort must be a number"}; | ||
} | ||
if (settings.publicPort < 1 || settings.publicPort > 65535) { | ||
return {valid:false,message:"value of publicPort must between 1 and 65535"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must -> must be
this PR does not include the permission check with the oAuth token... I am assuming that one will be added later. |
@boyang9527 fixed. |
@boyang9527 will have another pr for oauth. |
LGTM |
No description provided.