We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bab52f4 commit 0dbbf25Copy full SHA for 0dbbf25
packages/nextjs-cache-handler/package.json
@@ -18,7 +18,7 @@
18
"next",
19
"redis"
20
],
21
- "version": "2.0.0-canary4",
+ "version": "2.0.0-canary5",
22
"type": "module",
23
"license": "MIT",
24
"description": "Next.js cache handlers",
packages/nextjs-cache-handler/src/handlers/cache-handler.ts
@@ -606,7 +606,7 @@ export class CacheHandler implements NextCacheHandler {
606
607
if (cachedData?.value?.kind === "APP_ROUTE") {
608
cachedData.value.body = Buffer.from(
609
- cachedData.value.body as unknown as string,
+ cachedData.value.body.toString(),
610
"base64",
611
);
612
}
0 commit comments