Toggle navigation
Toggle navigation
This project
Loading...
Sign in
방승일
/
mamuri-bot
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-05-14 20:05:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4088f570263a34d67ae6dc486ad6539abce2ebf8
4088f570
1 parent
58acd87b
EDIT: refactor - make directory apis/
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletions
server/pushMessage.js → server/apis/setFlexMessage.js
server/app.js
server/package-lock.json
server/package.json
server/
push
Message.js
→
server/
apis/setFlex
Message.js
View file @
4088f57
File moved
server/app.js
View file @
4088f57
const
express
=
require
(
"express"
);
const
line
=
require
(
"@line/bot-sdk"
);
const
setFlexMessage
=
require
(
"./
push
Message"
);
const
setFlexMessage
=
require
(
"./
apis/setFlex
Message"
);
require
(
"dotenv"
).
config
();
const
config
=
{
channelAccessToken
:
process
.
env
.
channelAccessToken
,
...
...
@@ -41,3 +41,4 @@ function handleEvent(event) {
}
app
.
listen
(
3000
);
console
.
log
(
"listening..."
);
...
...
server/package-lock.json
View file @
4088f57
This diff is collapsed. Click to expand it.
server/package.json
View file @
4088f57
...
...
@@ -15,6 +15,8 @@
"author"
:
""
,
"license"
:
"MIT"
,
"dependencies"
:
{
"@line/bot-sdk"
:
"^7.5.0"
,
"dotenv"
:
"^16.0.1"
,
"express"
:
"^4.18.1"
,
"nodemon"
:
"^2.0.16"
}
...
...
Please
register
or
login
to post a comment