Compare commits

...

2 Commits

Author SHA1 Message Date
Gavin McDonald
269abd237e middleware -> proxy 2025-12-06 17:40:39 -05:00
Gavin McDonald
52636017a5 up to date, audited 391 packages in 15s
144 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
2025-12-06 17:37:07 -05:00
3 changed files with 1269 additions and 805 deletions

2048
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
import { NextResponse } from 'next/server';
import type { NextRequest } from 'next/server';
export function middleware(request: NextRequest) {
export function proxy(request: NextRequest) {
const url = request.nextUrl;
const slug = url.pathname.slice(1);

View File

@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "ES2020",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
@@ -12,7 +16,7 @@
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
@@ -20,10 +24,20 @@
}
],
"paths": {
"@/*": ["./*"]
"@/*": [
"./*"
]
},
"strictNullChecks": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}