Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
은승우
2019-12-01 22:48:02 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b0a93ae30fffc3a1881bfab0a6771b58e00f41cd
b0a93ae3
1 parent
5f37970d
Update app.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
app.js
app.js
View file @
b0a93ae
var
express
=
require
(
'express'
);
var
app
=
express
();
const
line
=
require
(
'@line/bot-sdk'
);
var
server
=
grrenlock
.
create
({
version
:
'v02'
,
configDir
:
'/etc/letsencrypt'
,
server
:
'https://acme-v02.api.letsencrypt.org/directory'
,
email
:
'sweun1@naver.com'
,
var
greenlock
=
require
(
'greenlock=express'
);
var
server
=
greenlock
.
create
({
version
:
'v02'
,
configDir
:
'/etc/letsencrypt'
,
server
:
'https://acme-v02.api.letsencrypt.org/directory'
,
email
:
'sweun1@naver.com'
,
approveDomains
:
[
'www.oss.chatbot.bu.to'
,
'oss.chatbot.bu.to'
],
//my url, domain
agreeTos
:
true
,
renewWithin
:
90
*
24
*
60
*
60
*
1000
,
renewBy
:
89
*
24
*
60
*
60
*
1000
,
app
:
app
}).
listen
(
80
,
443
);
...
...
Please
register
or
login
to post a comment