Skip to content

Commit d594c89

Browse files
feat: update transforming data for APP_PAGE
1 parent 7378cbc commit d594c89

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/cache-core/src/cacheHandler.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,15 @@ export class Cache implements CacheHandler {
194194
}
195195
}
196196
}
197+
if (data.value?.kind === CachedRouteKind.APP_PAGE) {
198+
return {
199+
...data,
200+
value: {
201+
...data.value,
202+
rscData: Buffer.from(data.value.rscData as unknown as string, 'base64')
203+
}
204+
}
205+
}
197206
return data
198207
}
199208

0 commit comments

Comments
 (0)