Toggle navigation
Toggle navigation
This project
Loading...
Sign in
조아혜
/
cfr-chatbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
조아혜
2020-12-03 23:27:50 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fa4d4178dfe868bb89258b6c852e1a861dfe2e05
fa4d4178
1 parent
a7f40ae7
reupload chatbot.js
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
chatbot.js
package-lock.json
chatbot.js
View file @
fa4d417
var
express
=
require
(
'express'
);
var
cfr
=
require
(
'./cfr_module.js'
);
const
request
=
require
(
'request'
);
const
TARGET_URL
=
'https://api.line.me/v2/bot/message/reply'
const
TOKEN
=
'w5i8sURqF5bof6DWeB87n+oCeWrYaFf7a5YZzfzN1jeITIlZ3PcOmZRcdGCo/djTuHhNxybfJ69y7Jex+7tipBNRynngfyWX9CK1L3EupuhnX8rubeCmJda7HvsQWXVo8ZDcwl2aLwXsE3kiYF2qEwdB04t89/1O/w1cDnyilFU='
...
...
@@ -60,7 +61,7 @@ app.post('/hook', function (req, res) {
downloadContent
(
content_id
,
downloadPath
);
//사진으로 얼굴 인식해주는 함수
cfr
.
imgtodata
(
'./test2.jpg'
);
SendingLocation
(
eventObj
.
replyToken
);
res
.
sendStatus
(
200
);
}
else
{
...
...
package-lock.json
deleted
100644 → 0
View file @
a7f40ae
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment