Skip to content

Commit 0dbbf25

Browse files
committed
F
1 parent bab52f4 commit 0dbbf25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/nextjs-cache-handler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"next",
1919
"redis"
2020
],
21-
"version": "2.0.0-canary4",
21+
"version": "2.0.0-canary5",
2222
"type": "module",
2323
"license": "MIT",
2424
"description": "Next.js cache handlers",

packages/nextjs-cache-handler/src/handlers/cache-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ export class CacheHandler implements NextCacheHandler {
606606

607607
if (cachedData?.value?.kind === "APP_ROUTE") {
608608
cachedData.value.body = Buffer.from(
609-
cachedData.value.body as unknown as string,
609+
cachedData.value.body.toString(),
610610
"base64",
611611
);
612612
}

0 commit comments

Comments
 (0)