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-04 15:10:20 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a57513793480e520da693f488fcfa4ffd2ffbca8
a5751379
1 parent
91134cc5
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
app.js
app.js
View file @
a575137
...
...
@@ -18,6 +18,7 @@ var httpsOptions = {
http.createServer(app).listen(80);
https.createServer(httpsOptions, app).listen(443);
*/
/*
const lex= require('greenlock-express').create({
version: 'draft-11', // 버전2
store: require('greenlock-store-fs'),
...
...
@@ -41,7 +42,7 @@ https.createServer(lex.httpsOptions, lex.middleware(app)).listen((process.env.SS
http.createServer(lex.middleware(require('redirect-https')())).listen(process.env.PORT || 80,()=>{
console.log("server on 80");
});
*/
//papago api
...
...
@@ -174,8 +175,13 @@ function handleEvent(event) {
else
{
console
.
log
(
"status code is not 200"
);
}
});
});
}
app
.
listen
(
3000
,
function
()
{
console
.
log
(
'Linebot listening on port 3000!'
);
});
...
...
Please
register
or
login
to post a comment