Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Commit 3990c78

Browse files
committed
Merge pull request #6 from PlasmaPower/patch-1
Fix README.md
2 parents 5d9406a + fa07ade commit 3990c78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
koa-github [![Build Status](https://secure.travis-ci.org/dead-horse/koa-github.png)](http://travis-ci.org/dead-horse/koa-github)
1+
koa-github [![Build Status](https://secure.travis-ci.org/koajs/koa-github.png)](http://travis-ci.org/koajs/koa-github)
22
==========
33

44
simple github auth middleware for koa
@@ -7,7 +7,7 @@ simple github auth middleware for koa
77

88
## Example
99

10-
```
10+
```js
1111
//use http://localhost:7001 to test
1212

1313
var koa = require('koa');
@@ -61,7 +61,7 @@ http.createServer(app.callback()).listen(7001);
6161
- [String] redirect redirect key when call signinPath, so we can redirect after auth, default is `redirect_uri`
6262
```
6363

64-
* clientID, clentSecret and callbackURL are regist in https://github.com/settings/applications.
64+
* clientID, clentSecret and callbackURL are registered in https://github.com/settings/applications.
6565
* if you set userKey field, `koa-github` will request to get the user info and set this object to `this.session[options.userKey]`, otherwise `koa-github` will not do this request.
6666
* if you triggle by `/github/auth?redirect_uri=/callback`, `koa-github` will redirect to `/callback` after auth, and the redirect_uri only accept start with `/`.
6767

0 commit comments

Comments
 (0)