Skip to content

Commit

Permalink
docs(README): use https:// for enterprise example
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Oct 23, 2018
1 parent bc650b9 commit 47200d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Override or set default options. Example:

```js
const myOctokitRequest = require('@octokit/request').defaults({
baseUrl: 'http://github-enterprise.acme-inc.com/api/v3',
baseUrl: 'https://github-enterprise.acme-inc.com/api/v3',
headers: {
'user-agent': 'myApp/1.2.3',
authorization: `token 0000000000000000000000000000000000000001`
Expand All @@ -249,7 +249,7 @@ You can call `.defaults()` again on the returned method, the defaults will casca

```js
const myProjectRequest = request.defaults({
baseUrl: 'http://github-enterprise.acme-inc.com/api/v3',
baseUrl: 'https://github-enterprise.acme-inc.com/api/v3',
headers: {
'user-agent': 'myApp/1.2.3'
},
Expand Down

0 comments on commit 47200d8

Please sign in to comment.