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-11-30 16:02:59 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c091719cb6979477af35c34061d28bc5222b97d5
c091719c
1 parent
246d9438
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
app.js
app.js
View file @
c091719
...
...
@@ -4,9 +4,9 @@ const line = require('@line/bot-sdk');
var
https
=
require
(
'https'
);
const
fs
=
require
(
'fs'
);
var
key
=
fs
.
readFileSync
(
path
.
resolve
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/privkey.pem'
)
);
var
cert
=
fs
.
readFileSync
(
path
.
resolve
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/cert.pem'
)
);
var
ca
=
fs
.
readFileSync
(
path
.
resolve
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/fullchain.pem'
)
);
var
key
=
fs
.
readFileSync
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/privkey.pem'
);
var
cert
=
fs
.
readFileSync
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/cert.pem'
);
var
ca
=
fs
.
readFileSync
(
'/etc/letsencrypt/live/oss.chatbot.bu.to/fullchain.pem'
);
https
.
createServer
({
key
:
key
,
...
...
Please
register
or
login
to post a comment