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