Skip to content

Commit

Permalink
Merge pull request #2 from Microsoft/ianc/fixing-https-issue
Browse files Browse the repository at this point in the history
Fixing minor HTTPS issue.
  • Loading branch information
iclanton authored Aug 29, 2016
2 parents a94f0e8 + bd7e831 commit 99d4ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServeTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ export class ServeTask extends GulpTask<IServeTaskConfig> {

const apiPort: number = api.port || 5432;
if (this.taskConfig.https) {
http.createServer(app).listen(apiPort);
} else {
https.createServer(httpsServerOptions, app).listen(apiPort);
} else {
http.createServer(app).listen(apiPort);
}
}
}
Expand Down

0 comments on commit 99d4ff5

Please sign in to comment.