Skip to content

Commit a927422

Browse files
fix(deps): update dependency next to v16.0.9 [security] (#484)
* fix(deps): update dependency next to v16.0.9 [security] * fix(deps): update dependency next to v16.0.10 [security] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: tomaszpacior <[email protected]>
1 parent d197b89 commit a927422

File tree

4 files changed

+53
-43
lines changed

4 files changed

+53
-43
lines changed

apps/frontend/next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { NextConfig } from 'next';
33
// @ts-expect-error missing types for this library
44
import withPlugins from 'next-compose-plugins';
55
import createNextIntlPlugin from 'next-intl/plugin';
6+
import path from 'path';
67

78
const withBundleAnalyzer = createBundleAnalyzer({
89
enabled: process.env.ANALYZE === 'true',
@@ -12,6 +13,7 @@ const withNextIntl = createNextIntlPlugin();
1213

1314
const nextConfig: NextConfig = {
1415
output: 'standalone',
16+
outputFileTracingRoot: path.join(__dirname, '../../'),
1517
images: {
1618
// deviceSizes: [430, 828, 1200, 2048, 3840],
1719
qualities: [75, 90],

apps/frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"dotenv-cli": "^11.0.0",
5252
"formik": "^2.4.9",
5353
"markdown-to-jsx": "^8.0.0",
54-
"next": "16.0.7",
54+
"next": "16.0.10",
5555
"next-auth": "^5.0.0-beta.30",
5656
"next-compose-plugins": "^2.2.1",
5757
"next-intl": "^4.5.8",
@@ -92,4 +92,4 @@
9292
"@types/react": "19.2.7",
9393
"@types/react-dom": "19.2.3"
9494
}
95-
}
95+
}
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
import { NextRequest } from 'next/server';
2+
13
import { handlers } from '@/auth';
24

3-
export const { GET, POST } = handlers;
5+
export async function GET(request: NextRequest, _context: { params: Promise<{ nextauth: string[] }> }) {
6+
return handlers.GET(request);
7+
}
8+
9+
export async function POST(request: NextRequest, _context: { params: Promise<{ nextauth: string[] }> }) {
10+
return handlers.POST(request);
11+
}

package-lock.json

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)