Showing
1 changed file
with
2 additions
and
2 deletions
1 | var express = require('express'); | 1 | 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 TOKEN = 'zVAczqoJ+L9oykqhEj7HoP7f6Nyb+R3T1TntHXQhYihI+KIxH4SZDGpKu0jKsMXMHKBVXpmbybA+oaV8u/dfLppKe3NHXU9AdBVypy9NgfWiFPLlcwm3GdkVPAZGoS4nvOCXWDKUb+ixPKWjlbnChAdB04t89/1O/w1cDnyilFU=' | 4 | +const TOKEN = '' |
5 | const fs = require('fs'); | 5 | const fs = require('fs'); |
6 | const path = require('path'); | 6 | const path = require('path'); |
7 | const HTTPS = require('https'); | 7 | const HTTPS = require('https'); |
... | @@ -55,7 +55,7 @@ app.post('/hook', function (req, res) { | ... | @@ -55,7 +55,7 @@ app.post('/hook', function (req, res) { |
55 | var db = mysql.createConnection({ | 55 | var db = mysql.createConnection({ |
56 | host: 'chatbot.c7fzgftc3yrm.us-east-1.rds.amazonaws.com', | 56 | host: 'chatbot.c7fzgftc3yrm.us-east-1.rds.amazonaws.com', |
57 | user: 'chatbot', | 57 | user: 'chatbot', |
58 | - password: '11111111', | 58 | + password: '', |
59 | database: 'chatbot', | 59 | database: 'chatbot', |
60 | port: '3306' | 60 | port: '3306' |
61 | }); | 61 | }); | ... | ... |
-
Please register or login to post a comment