Skip to content

Commit

Permalink
docs: update @fastify/cookie (fastify#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luchanso authored Oct 5, 2022
1 parent d866438 commit e6b8ba5
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 @@ -5,7 +5,7 @@
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)

A session plugin for [fastify](http://fastify.io/).
Requires the [fastify-cookie](https://github.com/fastify/fastify-cookie) plugin.
Requires the [@fastify/cookie](https://github.com/fastify/fastify-cookie) plugin.

**NOTE:** This is the continuation of [fastify-session](https://github.com/SerayaEryn/fastify-session) which is unmaintained by now. All work credit till [`e201f7`](https://github.com/fastify/session/commit/e201f78fc9d7bd33c6f2e84988be7c8af4b5a8a3) commit goes to [SerayaEryn](https://github.com/SerayaEryn) and contributors.

Expand All @@ -20,7 +20,7 @@ npm i @fastify/session
```js
const fastify = require('fastify');
const fastifySession = require('@fastify/session');
const fastifyCookie = require('fastify-cookie');
const fastifyCookie = require('@fastify/cookie');

const app = fastify();
app.register(fastifyCookie);
Expand Down

0 comments on commit e6b8ba5

Please sign in to comment.