은승우

Update app.js

Showing 1 changed file with 2 additions and 7 deletions
1 var express = require('express'); 1 var express = require('express');
2 var app = express(); 2 var app = express();
3 const line = require('@line/bot-sdk'); 3 const line = require('@line/bot-sdk');
4 -var https=require('https'); 4 +var server = grrenlock.create({ version: 'v02', configDir: '/etc/letsencrypt', server: 'https://acme-v02.api.letsencrypt.org/directory', email: '***@gmail.com', approveDomains: ['www.homeauctionmap.com', 'homeauctionmap.com'], //my url, domain
5 -const fs = require('fs'); 5 +agreeTos: true, renewWithin: 90 * 24 * 60 * 60 * 1000, renewBy: 89 * 24 * 60 * 60 * 1000, app: app }).listen(80, 443);
6 -
7 -
8 -app.listen(3000,()=>{
9 - console.log("server on 3000");
10 -})
11 6
12 7
13 //papago api 8 //papago api
......