docs: fix typo in cookie path default value docs (#1340)

This commit is contained in:
Igor Adamenko 2019-06-10 09:49:53 +03:00 committed by Yiyu He
parent 23f7f545ab
commit b7fc526ea4

View file

@ -81,7 +81,7 @@ Koa uses the [cookies](https://github.com/jed/cookies) module where options are
- `maxAge` a number representing the milliseconds from Date.now() for expiry
- `signed` sign the cookie value
- `expires` a `Date` for cookie expiration
- `path` cookie path, `/'` by default
- `path` cookie path, `'/'` by default
- `domain` cookie domain
- `secure` secure cookie
- `httpOnly` server-accessible cookie, __true__ by default