Skip to content

Commit ee9825c

Browse files
committed
Merge branch 'main' into next-site/learn-update
2 parents ccb0960 + 7a05b71 commit ee9825c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dashboard/final-example/middleware.ts renamed to dashboard/final-example/proxy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ export default NextAuth(authConfig).auth;
66
export const config = {
77
// https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
88
matcher: ['/((?!api|_next/static|_next/image|.*\\.png$).*)'],
9-
runtime: 'nodejs',
109
};

dashboard/final-example/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moduleResolution": "bundler",
1212
"resolveJsonModule": true,
1313
"isolatedModules": true,
14-
"jsx": "preserve",
14+
"jsx": "react-jsx",
1515
"incremental": true,
1616
"plugins": [
1717
{
@@ -29,7 +29,8 @@
2929
"**/*.tsx",
3030
".next/types/**/*.ts",
3131
"app/lib/placeholder-data.ts",
32-
"scripts/seed.js"
32+
"scripts/seed.js",
33+
".next/dev/types/**/*.ts"
3334
],
3435
"exclude": ["node_modules"]
3536
}

0 commit comments

Comments
 (0)