이유혁

Test finished, health checker fixed

Showing 1 changed file with 6 additions and 5 deletions
......@@ -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
......