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:39:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a5457f6e5a22aa8c9b37f9c6a17ba353d26680c7
a5457f6e
1 parent
6fc9f661
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
app.js
app.js
View file @
a5457f6
var
express
=
require
(
'express'
);
var
app
=
express
();
const
line
=
require
(
'@line/bot-sdk'
);
var
https
=
require
(
'https'
);
const
fs
=
require
(
'fs'
);
app
.
listen
(
3000
,()
=>
{
console
.
log
(
"server on 3000"
);
})
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
agreeTos
:
true
,
renewWithin
:
90
*
24
*
60
*
60
*
1000
,
renewBy
:
89
*
24
*
60
*
60
*
1000
,
app
:
app
}).
listen
(
80
,
443
);
//papago api
...
...
Please
register
or
login
to post a comment