Skip to content

Commit

Permalink
remove https
Browse files Browse the repository at this point in the history
  • Loading branch information
mxiamxia committed Mar 16, 2016
1 parent da1a9ba commit eb921bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ app.set('port', port);
/**
* Create HTTP server.
*/
var options = {
key: fs.readFileSync('../private.key'),
cert: fs.readFileSync('../certificate.pem')
};
var server = https.createServer(options, app);
//var options = {
// key: fs.readFileSync('../private.key'),
// cert: fs.readFileSync('../certificate.pem')
//};
var server = https.createServer(app);
//var server = https.createServer(options, app);

/**
Expand Down

0 comments on commit eb921bd

Please sign in to comment.