Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대욱
/
trans
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-11-27 19:20:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b89d90c162c9a3764b239c2b7562d08c848acce3
b89d90c1
1 parent
d344a23c
제발
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
app.js
app.js
View file @
b89d90c
...
...
@@ -35,11 +35,6 @@ app.post('/hook', function (req, res) {
rl
.
on
(
'line'
,
function
(
line
)
{
console
.
log
(
line
);
rl
.
close
();
}).
on
(
"close"
,
function
()
{
process
.
exit
();
});
if
(
line
==
"영어"
){
transen
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
);
}
...
...
@@ -50,6 +45,10 @@ app.post('/hook', function (req, res) {
transja
(
eventObj
.
replyToken
,
eventObj
.
message
.
text
);
}
rl
.
close
();
}).
on
(
"close"
,
function
()
{
process
.
exit
();
});
res
.
sendStatus
(
200
);
...
...
Please
register
or
login
to post a comment