mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-05-01 21:00:43 +00:00
- Upgrade Next.js from 15.4.10 to 16.1.1 - Upgrade React from 19.1.0 to 19.2.3 - Rename middleware.ts → proxy.ts (Next.js 16 requirement) - Update function name: middleware → proxy - Enable proxyClientMaxBodySize configuration (now supported in Next.js 16) - Update documentation to reference Next.js 16 requirement - Fix upload size limit issue for files >10MB This upgrade fixes GitHub issue #361 where users cannot upload files larger than 10MB. The proxyClientMaxBodySize configuration option was introduced in Next.js 16.1+ and allows configuring the proxy body size limit to 100MB. Fixes #361 Related to PR #405
41 lines
702 B
JSON
41 lines
702 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
}
|