Showing
1 changed file
with
4 additions
and
5 deletions
| ... | @@ -8,15 +8,18 @@ const PAPAGO_ID = 'tA41WEd_nbzy0nZcUQks' | ... | @@ -8,15 +8,18 @@ const PAPAGO_ID = 'tA41WEd_nbzy0nZcUQks' |
| 8 | const PAPAGO_SECRET = '6DHwov9gg2' | 8 | const PAPAGO_SECRET = '6DHwov9gg2' |
| 9 | const WEATHER_TARGET_URL = 'http://apis.data.go.kr/1360000/VilageFcstInfoService/getVilageFcst'; | 9 | const WEATHER_TARGET_URL = 'http://apis.data.go.kr/1360000/VilageFcstInfoService/getVilageFcst'; |
| 10 | const weather_key = 'CuIdcpULvcissE3Jk7AyAXok4bR4j6xyNkhfmWxOI9%2BxCs%2FkI%2F4v4j4rz3DDsQZVeuJTrWQhzQ3CV4JkeykMSw%3D%3D'; | 10 | const weather_key = 'CuIdcpULvcissE3Jk7AyAXok4bR4j6xyNkhfmWxOI9%2BxCs%2FkI%2F4v4j4rz3DDsQZVeuJTrWQhzQ3CV4JkeykMSw%3D%3D'; |
| 11 | + | ||
| 11 | const fs = require('fs'); | 12 | const fs = require('fs'); |
| 12 | const path = require('path'); | 13 | const path = require('path'); |
| 13 | const HTTPS = require('https'); | 14 | const HTTPS = require('https'); |
| 14 | const domain = "www.theia17.tk" | 15 | const domain = "www.theia17.tk" |
| 15 | const sslport = 23023; | 16 | const sslport = 23023; |
| 17 | + | ||
| 16 | const bodyParser = require('body-parser'); | 18 | const bodyParser = require('body-parser'); |
| 17 | var app = express(); | 19 | var app = express(); |
| 18 | var async = require('async'); | 20 | var async = require('async'); |
| 19 | const { resolve } = require('path'); | 21 | const { resolve } = require('path'); |
| 22 | + | ||
| 20 | var Language_Detect_Array = new Array(); | 23 | var Language_Detect_Array = new Array(); |
| 21 | var User_Info_Array = new Array(); | 24 | var User_Info_Array = new Array(); |
| 22 | var Weahter_Detect_Array = new Array(); | 25 | var Weahter_Detect_Array = new Array(); |
| ... | @@ -400,8 +403,4 @@ try { | ... | @@ -400,8 +403,4 @@ try { |
| 400 | } catch (error) { | 403 | } catch (error) { |
| 401 | console.log('[HTTPS] HTTPS 오류가 발생하였습니다. HTTPS 서버는 실행되지 않습니다.'); | 404 | console.log('[HTTPS] HTTPS 오류가 발생하였습니다. HTTPS 서버는 실행되지 않습니다.'); |
| 402 | console.log(error); | 405 | console.log(error); |
| 403 | - } | ||
| 404 | - | ||
| 405 | - app.listen(23023, function () { | ||
| 406 | - console.log('Linebot listening on port 23023!'); | ||
| 407 | - }); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 406 | + } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment