Skip to content

Commit

Permalink
await cache set
Browse files Browse the repository at this point in the history
  • Loading branch information
conico974 committed Jun 18, 2024
1 parent c50f2c8 commit 447b1f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/open-next/src/adapters/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default class S3Cache {
const { html, pageData } = data;
const isAppPath = typeof pageData === "string";
if (isAppPath) {
globalThis.incrementalCache.set(
await globalThis.incrementalCache.set(
key,
{
type: "app",
Expand All @@ -260,7 +260,7 @@ export default class S3Cache {
false,
);
} else {
globalThis.incrementalCache.set(
await globalThis.incrementalCache.set(
key,
{
type: "page",
Expand Down

0 comments on commit 447b1f0

Please sign in to comment.