Skip to content

Commit

Permalink
Merge pull request #30 from nickclaw/master
Browse files Browse the repository at this point in the history
Work with electron
  • Loading branch information
JonnyBurger authored Jul 24, 2017
2 parents 0bcd65a + ee92a09 commit bea6b74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ function getJSON(obj) {
}
got(obj.url, {
headers: obj.headers,
rejectUnauthorized: false
rejectUnauthorized: false,
useElectronNet: false
}).then(response => {
try {
resolve(JSON.parse(response.body));
Expand Down

0 comments on commit bea6b74

Please sign in to comment.