곽원석

Update app.js(일반사용자용)

Showing 1 changed file with 3 additions and 3 deletions
......@@ -11,11 +11,11 @@ var moment = require('moment');
// 라인 메신져
const TARGET_URL = 'https://api.line.me/v2/bot/message/reply'
const TOKEN = 'OPv3udmn1UGx+xWZFm80KeZbeGJm63nyt+sTpvBr1Mbc1Y0FAeK4MohQLcWq5yytJ6vnaNgXZfigAEFdbjzs05b4QAU+9r1jcZ05t6QvhWDTRYT0Z+YDMMePXtrQYCT84kmkH0OpJ4smBFwLxrtwtAdB04t89/1O/w1cDnyilFU='
const TOKEN = '발급 받은 라인 메신져 토큰'
// 공공보건포털_API
const CORONA_URL = 'http://openapi.data.go.kr/openapi/service/rest/Covid19/getCovid19InfStateJson';
const SERVICE_KEY = 'DMUPOq6b%2B%2F1gqfLEXQ6bnhgoTO73BfPprA6HVNcV%2F6vHMGG%2Bgiw%2BPDkPvX1eQ7b9uvl%2B42fxUPkU0W3Si907Lw%3D%3D'
const SERVICE_KEY = '발급 받은 서비스 키'
queryParams = '?' + encodeURIComponent('ServiceKey') + '=' + SERVICE_KEY; // Service Key
queryParams += '&' + encodeURIComponent('pageNo') + '=' + encodeURIComponent('1');
queryParams += '&' + encodeURIComponent('numOfRows') + '=' + encodeURIComponent('4');
......@@ -31,7 +31,7 @@ const fs = require('fs');
const path = require('path');
const HTTPS = require('https');
const { measureMemory } = require('vm');
const domain = "www.oss-chatbot-kwak.tk"
const domain = "사용할 도메인"
const sslport = 23023;
// 챗봇으로 입력
......