Showing
3 changed files
with
5 additions
and
3 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 = require('config').TOKEN | 4 | +const TOKEN = require('./config').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'); |
8 | -const domain = require('config').domain | 8 | +const domain = require('./config').domain |
9 | const sslport = 23023; | 9 | const sslport = 23023; |
10 | const bodyParser = require('body-parser'); | 10 | const bodyParser = require('body-parser'); |
11 | 11 | ... | ... |
This diff is collapsed. Click to expand it.
... | @@ -18,6 +18,8 @@ | ... | @@ -18,6 +18,8 @@ |
18 | "express": "^4.17.1", | 18 | "express": "^4.17.1", |
19 | "node-schedule": "^2.0.0", | 19 | "node-schedule": "^2.0.0", |
20 | "puppeteer": "^9.1.1", | 20 | "puppeteer": "^9.1.1", |
21 | - "sanitize-html": "^2.3.3" | 21 | + "sanitize-html": "^2.3.3", |
22 | + "body-parser": "^1.19.0", | ||
23 | + "request": "^2.88.2" | ||
22 | } | 24 | } |
23 | } | 25 | } | ... | ... |
-
Please register or login to post a comment