EC2 Default User

EDIT : app.js

Showing 1 changed file with 4 additions and 4 deletions
...@@ -2,15 +2,15 @@ var express = require('express'); ...@@ -2,15 +2,15 @@ var express = require('express');
2 const request = require('request'); 2 const request = require('request');
3 const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' 3 const TARGET_URL = 'https://api.line.me/v2/bot/message/reply'
4 const BROAD_TARGET_URL = 'https://api.line.me/v2/bot/message/broadcast' 4 const BROAD_TARGET_URL = 'https://api.line.me/v2/bot/message/broadcast'
5 -const TOKEN = 'Z2sc8dyYuNcGkJmaoWKsZuWW1xRvJIhK8X7ZGA1jyVai7UdHsnriYQ8EdHPP1DICspF8HxxfvqxH9+hePe5y5JUf8OFYC20pSKGVm5ZFUsRn5+f6puVwQ1sirgU3+/+5EUkuCAH4KxRXcZTNRK2sdQdB04t89/1O/w1cDnyilFU=';//'채널 토큰으로 변경' 5 +const TOKEN = '채널 토큰으로 변경'
6 const fs = require('fs'); 6 const fs = require('fs');
7 const path = require('path'); 7 const path = require('path');
8 const HTTPS = require('https'); 8 const HTTPS = require('https');
9 -const domain = "2017103049.osschatbot2022.ml";//"도메인 변경" 9 +const domain = "도메인 변경"
10 const sslport = 23023; 10 const sslport = 23023;
11 11
12 -var client_id = 'uiPeCv0BhpI5i0cyMZ5T'; 12 +var client_id = 'naver client id';
13 -var client_secret = 'c1E9jfG020'; 13 +var client_secret = 'naver client secret';
14 var newsOn = false; 14 var newsOn = false;
15 var newsOff = true; 15 var newsOff = true;
16 var headline_max = ''; 16 var headline_max = '';
......