은승우

Update greenlock-express app.js

Showing 1 changed file with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ const line = require('@line/bot-sdk'); ...@@ -4,7 +4,7 @@ const line = require('@line/bot-sdk');
4 var request = require('request'); 4 var request = require('request');
5 var https=require('https'); 5 var https=require('https');
6 var http=require('http'); 6 var http=require('http');
7 -const lex = require('greenlock').create({ 7 +const lex = require('greenlock-express').create({
8 version: 'draft-11', // 버전2 8 version: 'draft-11', // 버전2
9 store: require('greenlock-store-fs'), 9 store: require('greenlock-store-fs'),
10 configDir: '/etc/letsencrypt', // 또는 ~/letsencrypt/etc 10 configDir: '/etc/letsencrypt', // 또는 ~/letsencrypt/etc
......