Skip to content

Commit

Permalink
ignore unauthorized certs to allow for self-signed certs (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-day authored and gjtorikian committed Mar 22, 2018
1 parent 8cd92ba commit 1e75874
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export default class App extends React.Component {
port: url.port,
path: url.pathname + url.search,
headers: requestHeaders,
rejectUnauthorized: false, // avoid problems with self-signed certs
};

const request = url.protocol === 'https:' ? httpsRequest(requestOptions) : httpRequest(requestOptions);
Expand Down

0 comments on commit 1e75874

Please sign in to comment.