Skip to content

Commit 3ae6ddf

Browse files
committed
Merge pull request octokit#226 from JJ/master
Some modifications to documentation
2 parents 09ecdff + d81d533 commit 3ae6ddf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ or
2020

2121
You can find the docs for the API of this client at [http://mikedeboer.github.com/node-github/](http://mikedeboer.github.com/node-github/)
2222

23-
Additionally, the [official Github documentation](http://developer.github.com/)
23+
Additionally, the [official Github documentation](https://developer.github.com/v3/)
2424
is a very useful resource.
2525

2626
## Example
@@ -35,8 +35,8 @@ var github = new GitHubApi({
3535
// optional
3636
debug: true,
3737
protocol: "https",
38-
host: "github.my-GHE-enabled-company.com",
39-
pathPrefix: "/api/v3", // for some GHEs
38+
host: "github.my-GHE-enabled-company.com", // should be api.github.com for GitHub
39+
pathPrefix: "/api/v3", // for some GHEs; none for GitHub
4040
timeout: 5000,
4141
headers: {
4242
"user-agent": "My-Cool-GitHub-App" // GitHub is happy with a unique user agent

0 commit comments

Comments
 (0)