Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이유혁
/
OSS_Project_Chatbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
이유혁
2019-11-17 08:59:54 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7a826da0ac48d59fdc140338614eae3700f9fa28
7a826da0
1 parent
84637e5f
add ELB target health check code
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
app.js
app.js
View file @
7a826da
...
...
@@ -30,9 +30,10 @@ const client = new line.Client(config);
// about Express itself: https://expressjs.com/
// test
app
.
get
(
'/get'
,
(
req
,
res
)
=>
{
res
.
send
(
'hello'
);
})
app
.
get
(
'/'
,
(
req
,
res
)
=>
{
console
.
log
(
'hello'
);
res
.
status
(
200
);
});
// register a webhook handler with middleware
// about the middleware, please refer to doc
...
...
@@ -113,6 +114,7 @@ function handleEvent(event) {
});
}
app
.
listen
(
3000
,
function
()
{
console
.
log
(
'Linebot listening on port 3000!'
);
});
...
...
Please
register
or
login
to post a comment