Skip to content

Commit 0479f68

Browse files
committed
test: ensure we don't prerender API responses for og image in test fixture
1 parent 3301077 commit 0479f68

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

tests/fixtures/wasm-src/src/app/og-node/route.js

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ export async function GET() {
66
height: 630,
77
})
88
}
9+
10+
export const dynamic = 'force-dynamic'

tests/fixtures/wasm-src/src/app/og/route.js

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ export async function GET() {
88
}
99

1010
export const runtime = 'edge'
11+
12+
export const dynamic = 'force-dynamic'

tests/fixtures/wasm/app/og-node/route.js

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ export async function GET() {
66
height: 630,
77
})
88
}
9+
10+
export const dynamic = 'force-dynamic'

tests/fixtures/wasm/app/og/route.js

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ export async function GET() {
88
}
99

1010
export const runtime = 'edge'
11+
12+
export const dynamic = 'force-dynamic'

0 commit comments

Comments
 (0)