Skip to content

Commit 23e1e17

Browse files
committed
pages-router prod build v7
1 parent f89bb40 commit 23e1e17

10 files changed

+1726
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
export async function GET() {
1+
export const dynamic = 'force-dynamic';
2+
3+
async function GET() {
24
const randomVariableToRecord = 'LOCAL_VARIABLE';
35
throw new Error(`Uncaught Local Variable Error - ${JSON.stringify({ randomVariableToRecord })}`);
46
}

apps/nextjs-14_2_1/app/api/test-local-variables-uncaught/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export const dynamic = 'force-dynamic';
2+
13
export async function GET() {
24
const randomVariableToRecord = 'LOCAL_VARIABLE';
35
throw new Error(`Uncaught Local Variable Error - ${JSON.stringify({ randomVariableToRecord })}`);

0 commit comments

Comments
 (0)