Showing
2 changed files
with
2 additions
and
1 deletions
1 | var express = require('express'); | 1 | var express = require('express'); |
2 | +var cfr = require('./cfr_module.js'); | ||
2 | const request = require('request'); | 3 | const request = require('request'); |
3 | const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' | 4 | const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' |
4 | const TOKEN = 'w5i8sURqF5bof6DWeB87n+oCeWrYaFf7a5YZzfzN1jeITIlZ3PcOmZRcdGCo/djTuHhNxybfJ69y7Jex+7tipBNRynngfyWX9CK1L3EupuhnX8rubeCmJda7HvsQWXVo8ZDcwl2aLwXsE3kiYF2qEwdB04t89/1O/w1cDnyilFU=' | 5 | const TOKEN = 'w5i8sURqF5bof6DWeB87n+oCeWrYaFf7a5YZzfzN1jeITIlZ3PcOmZRcdGCo/djTuHhNxybfJ69y7Jex+7tipBNRynngfyWX9CK1L3EupuhnX8rubeCmJda7HvsQWXVo8ZDcwl2aLwXsE3kiYF2qEwdB04t89/1O/w1cDnyilFU=' |
... | @@ -60,7 +61,7 @@ app.post('/hook', function (req, res) { | ... | @@ -60,7 +61,7 @@ app.post('/hook', function (req, res) { |
60 | downloadContent(content_id, downloadPath); | 61 | downloadContent(content_id, downloadPath); |
61 | 62 | ||
62 | //사진으로 얼굴 인식해주는 함수 | 63 | //사진으로 얼굴 인식해주는 함수 |
63 | - | 64 | + cfr.imgtodata('./test2.jpg'); |
64 | SendingLocation(eventObj.replyToken); | 65 | SendingLocation(eventObj.replyToken); |
65 | res.sendStatus(200); | 66 | res.sendStatus(200); |
66 | } else { | 67 | } else { | ... | ... |
package-lock.json
deleted
100644 → 0
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment