Toggle navigation
Toggle navigation
This project
Loading...
Sign in
백승욱
/
movie-reco-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
김준서
2022-06-02 01:26:23 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a0f4eb5e2372b7cca656195941acd9e24f39926f
a0f4eb5e
1 parent
e6407ee6
Modify certification way
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
app.js
app.js
View file @
a0f4eb5
var
express
=
require
(
'express'
);
const
request
=
require
(
'request'
);
var
config
=
require
(
'./config.json'
);
const
TARGET_URL
=
'https://api.line.me/v2/bot/message/reply'
const
TOKEN
=
'ejLSECVgPBYNuEumq2Nw0w9ibDBoK9ixMnOp4jk41cLqHU5+vL1s5q7L4Ko7QcEiSCq1eJc1dPzG5P7HbbOKx490Oe6S1qZ7ob3YiTyfNN1NuOTm9jNYW22ctklbb8tFlDIDgSZbwz48jvQmAbdY9QdB04t89/1O/w1cDnyilFU='
const
TOKEN
=
config
.
TOKEN
;
const
KOFIC_URL
=
'http://www.kobis.or.kr/kobisopenapi/webservice/rest/movie/searchMovieInfo.json'
const
KOFIC_KEY
=
'fc36c6b83d1b3f06d8dc861b7e22787b'
const
KOFIC_KEY
=
config
.
KOFIC_KEY
;
const
fs
=
require
(
'fs'
);
const
path
=
require
(
'path'
);
const
HTTPS
=
require
(
'https'
);
const
domain
=
"2018102181.osschatbot2022.tk"
const
domain
=
config
.
domain
;
const
sslport
=
23023
;
const
bodyParser
=
require
(
'body-parser'
);
var
app
=
express
();
...
...
Please
register
or
login
to post a comment