security: add nginx headers and fix npm vulnerabilities

- Add security headers to nginx (X-Frame-Options, CSP, etc.)
- Reduce client_max_body_size from 500M to 10M
- Add npm overrides to fix cookie vulnerability in csurf
- Make navbar sticky with full width
This commit is contained in:
Radosław Gierwiało
2025-11-29 15:04:26 +01:00
parent 61d23681ff
commit 9206565523
3 changed files with 19 additions and 13 deletions

View File

@@ -62,5 +62,10 @@
},
"prisma": {
"seed": "node prisma/seed.js"
},
"overrides": {
"csurf": {
"cookie": "^0.7.0"
}
}
}