Skip to content

Commit

Permalink
docs: update cloudflare KV example (remix-run#1272)
Browse files Browse the repository at this point in the history
mtt87 authored Jan 12, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d22b883 commit ed3f6ca
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
@@ -104,6 +104,7 @@
- morinokami
- mskoroglu
- msutkowski
- mtt87
- nareshbhatia
- niconiahi
- nielsdb97
2 changes: 1 addition & 1 deletion docs/api/remix.md
Original file line number Diff line number Diff line change
@@ -2143,7 +2143,7 @@ For [Cloudflare KV](https://developers.cloudflare.com/workers/learning/how-kv-wo
The advantage of KV backed sessions is that only the session ID is stored in the cookie while the rest of the data is stored in a globally replicated, low-latency data store with exceptionally high read volumes with low-latency.
```js
// app/sessions.js
// app/sessions.server.js
import {
createCookie,
createCloudflareKVSessionStorage

0 comments on commit ed3f6ca

Please sign in to comment.