Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정홍주
/
Coin-trade-assistant
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
Ubuntu
2021-06-07 05:50:04 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
78561e952665b611fc46de27c5f60a3f66ca6829
78561e95
1 parent
c979ce3c
Hide api-key and test
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
.gitignore
app.js
.gitignore
View file @
78561e9
node_modules/
apiKey.json
tes*.js
\ No newline at end of file
...
...
app.js
View file @
78561e9
var
express
=
require
(
'express'
);
const
lineToken
=
require
(
'./apiKey.json'
);
const
request
=
require
(
'request'
);
const
TARGET_URL
=
'https://api.line.me/v2/bot/message/reply'
const
TOKEN
=
'6lwsXwectIjTZ1NWp6c1t5l8nXaOjWgfeYfTOWNRRTVftaXMb4eSMj2zeficMr4/FWtyPPBuUB120kxZp58bwDilssdU5Uhc4mWz4kCPfcgiEcVwzXUktbYRE3xKAJU1zdYAsZZvI+87KY8qZvaRngdB04t89/1O/w1cDnyilFU='
const
TOKEN
=
lineToken
.
line_token
;
const
fs
=
require
(
'fs'
);
const
path
=
require
(
'path'
);
const
HTTPS
=
require
(
'https'
);
...
...
Please
register
or
login
to post a comment