Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최현준
/
도와줘요 채팅맨
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Network
Create a new issue
Commits
Issue Boards
Authored by
최현준
2020-06-14 23:30:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4364bcf7e896a604689a9cd1f57011017a3c1dcc
4364bcf7
1 parent
51683cec
app listen error 해결
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
app.js
app.js
View file @
4364bcf
...
...
@@ -8,15 +8,18 @@ const PAPAGO_ID = 'tA41WEd_nbzy0nZcUQks'
const
PAPAGO_SECRET
=
'6DHwov9gg2'
const
WEATHER_TARGET_URL
=
'http://apis.data.go.kr/1360000/VilageFcstInfoService/getVilageFcst'
;
const
weather_key
=
'CuIdcpULvcissE3Jk7AyAXok4bR4j6xyNkhfmWxOI9%2BxCs%2FkI%2F4v4j4rz3DDsQZVeuJTrWQhzQ3CV4JkeykMSw%3D%3D'
;
const
fs
=
require
(
'fs'
);
const
path
=
require
(
'path'
);
const
HTTPS
=
require
(
'https'
);
const
domain
=
"www.theia17.tk"
const
sslport
=
23023
;
const
bodyParser
=
require
(
'body-parser'
);
var
app
=
express
();
var
async
=
require
(
'async'
);
const
{
resolve
}
=
require
(
'path'
);
var
Language_Detect_Array
=
new
Array
();
var
User_Info_Array
=
new
Array
();
var
Weahter_Detect_Array
=
new
Array
();
...
...
@@ -400,8 +403,4 @@ try {
}
catch
(
error
)
{
console
.
log
(
'[HTTPS] HTTPS 오류가 발생하였습니다. HTTPS 서버는 실행되지 않습니다.'
);
console
.
log
(
error
);
}
app
.
listen
(
23023
,
function
()
{
console
.
log
(
'Linebot listening on port 23023!'
);
});
\ No newline at end of file
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment