From b7fc526ea49894f366153bd32997e02568c0b8a6 Mon Sep 17 00:00:00 2001 From: Igor Adamenko Date: Mon, 10 Jun 2019 09:49:53 +0300 Subject: [PATCH] docs: fix typo in cookie path default value docs (#1340) --- docs/api/context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/context.md b/docs/api/context.md index 16e0ccd..539f52b 100644 --- a/docs/api/context.md +++ b/docs/api/context.md @@ -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