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 09:51:02 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
866c425c5ca3563a7ca7435882acb051ed854850
866c425c
1 parent
7a826da0
Test finished, health checker fixed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
app.js
app.js
View file @
866c425
...
...
@@ -14,8 +14,8 @@ var languagedetect_api_url = 'https://openapi.naver.com/v1/papago/detectLangs';
// Naver Auth Key
//새로 발급받은 naver papago api id, pw 입력
var
client_id
=
'
xZMx34y7uru1v8lywZ2d
'
;
var
client_secret
=
'
p6L7M7WsH9
'
;
var
client_id
=
'
743DE__EstcaLZzEsO5f
'
;
var
client_secret
=
'
Y865wTpZ5y
'
;
const
config
=
{
channelAccessToken
:
'TgqvFO0cHkSMEiRkJhLMCbfNzzO4Yhpdf8Ov+cr4tBPh2teSilW22TfEfTlxMHFBGufqslip3EYSdppQTCAThCEzf4xc6q8YEtPjF66hmyGOpLZoPK41VTWorrkOmBmmqysb11rElm50Wz6kvM/gogdB04t89/1O/w1cDnyilFU='
,
...
...
@@ -29,10 +29,11 @@ const client = new line.Client(config);
// create Express app
// about Express itself: https://expressjs.com/
//
test
//
ELB health checker
app
.
get
(
'/'
,
(
req
,
res
)
=>
{
console
.
log
(
'hello'
);
res
.
status
(
200
);
console
.
log
(
'hello,,,,'
);
res
.
writeHead
(
200
,
{
"Content-Type"
:
"text/html"
});
res
.
end
();
});
// register a webhook handler with middleware
...
...
Please
register
or
login
to post a comment