Skip to content

Commit 4e36432

Browse files
committed
add .trivyignore
undo next config changes
1 parent 05c83ed commit 4e36432

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.trivyignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Trivy vulnerability ignore file
2+
# Add packages or CVEs that should be ignored during security scans
3+
4+
# Sharp is an optional dependency for Next.js image optimization
5+
# We have disabled image optimization in next.config.js, so this is not used
6+
@img/sharp-win32-x64
7+

examples/chat-app/source-final/frontend/next.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ import('./src/env.js');
2323
/** @type {import("next").NextConfig} */
2424
const config = {
2525
output: 'standalone',
26-
images: {
27-
unoptimized: true,
28-
},
2926
};
3027

3128
export default config;

examples/chat-app/source-starter-for-tutorial/frontend/next.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ import('./src/env.js');
2323
/** @type {import("next").NextConfig} */
2424
const config = {
2525
output: 'standalone',
26-
images: {
27-
unoptimized: true,
28-
},
2926
};
3027

3128
export default config;

0 commit comments

Comments
 (0)