Skip to content

Commit

Permalink
Update public_api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
you21979 committed Mar 20, 2017
1 parent 2ffea0f commit 7af4cd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/public_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var createGetOption = function(url, user_agent, qs, timeout){
method: 'GET',
headers: createHeader(user_agent),
timeout : Math.floor(constant.OPT_TIMEOUT_SEC * 1000),
forever : constant.OPT_KEEPALIVE,
transform2xxOnly : true,
transform : function(body){
return JSON.parse(body)
Expand Down

0 comments on commit 7af4cd8

Please sign in to comment.