Skip to content

Commit ffff9db

Browse files
committed
docs: update vercel-storage
1 parent 65665a4 commit ffff9db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/2.deploy/providers/vercel.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ export default defineNuxtConfig({
7777
::
7878

7979
::alert
80-
You need to either set `KV_REST_API_URL` and `KV_REST_API_TOKEN` environment variables or pass `url` and `token` to driver options. Check [unstorage docs](https://unstorage.unjs.io/drivers/vercel-kv) for more information about driver usage.
80+
You need to either set `KV_REST_API_URL` and `KV_REST_API_TOKEN` environment variables or pass `url` and `token` to driver options. Check [driver docs](https://unstorage.unjs.io/drivers/vercel-kv) for more information about usage.
8181
::
8282

8383
You can now access data store in any event handler:
8484

8585
```ts
8686
export default eventHandler(async (event) => {
87-
const dataStorage = await useStorage("data");
87+
const dataStorage = useStorage("data");
8888
await dataStorage.setItem("hello", "world");
8989
return {
9090
hello: await dataStorage.getItem("hello"),

0 commit comments

Comments
 (0)