Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bluejoyq
/
searchGuide
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-11-22 21:23:31 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4e4c65c31d33bb1a228c79fed4554eb2192ea3bc
4e4c65c3
1 parent
693814f7
api key error check
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
api/apiRequest.js
api/apiRequest.js
View file @
4e4c65c
// api key
require
(
'dotenv'
).
config
();
try
{
if
(
process
.
env
.
TEST
!=
"OKAY"
)
{
throw
new
Error
(
"키 오류 키파일을 확인하세요"
);
}
}
catch
(
err
)
{
throw
new
Error
(
err
);
}
const
rp
=
require
(
"request-promise"
);
// Api URL
...
...
Please
register
or
login
to post a comment