Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
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
은승우
2019-12-04 15:38:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5742f8166bef5a65df902de53b35746593f9ffd5
5742f816
1 parent
32ef80bd
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
app.js
app.js
View file @
5742f81
...
...
@@ -5,7 +5,7 @@ var request = require('request');
var
https
=
require
(
'https'
);
var
http
=
require
(
'http'
);
/*
var
fs
=
require
(
"fs"
);
var
httpsOptions
=
{
...
...
@@ -17,7 +17,7 @@ var httpsOptions = {
http
.
createServer
(
app
).
listen
(
80
);
https
.
createServer
(
httpsOptions
,
app
).
listen
(
443
);
*/
/*
const lex= require('greenlock-express').create({
version: 'draft-11', // 버전2
...
...
@@ -182,9 +182,6 @@ function handleEvent(event) {
});
}
app
.
listen
(
443
,
function
()
{
console
.
log
(
'Linebot listening on port 3000!'
);
});
app
.
get
(
'/'
,(
req
,
res
)
=>
{
res
.
send
(
"hellow"
);
})
...
...
Please
register
or
login
to post a comment