은승우

Update app.js

Showing 1 changed file with 4 additions and 4 deletions
......@@ -5,7 +5,7 @@ var request = require('request');
var https=require('https');
var http=require('http');
/*
var fs = require("fs");
var httpsOptions = {
......@@ -14,8 +14,8 @@ var httpsOptions = {
};
http.createServer(app).listen(80);
https.createServer(httpsOptions, app).listen(443);*/
https.createServer(httpsOptions, app).listen(443);
/*
const lex= require('greenlock-express').create({
version: 'draft-11', // 버전2
store: require('greenlock-store-fs'),
......@@ -38,7 +38,7 @@ https.createServer(lex.httpsOptions, lex.middleware(app)).listen((process.env.SS
});
http.createServer(lex.middleware(require('redirect-https')())).listen(process.env.PORT || 80,()=>{
console.log("server on 80");
});
});*/
//papago api
......