- validate all file-upload via clamdscan (clamav), throw ValidationException in case of an error
All checks were successful
CI Pipeline / japa-tests (push) Successful in 50s

- add @types/clamscan and clamscan for node
- package clamav-daemon and clamav-frehshclam for docker
- add API Controller: HomeController.ts for /api/years and /api/sitelinks/{year}
 change root path of file storage from '/storage/app/public/files' to '/storage/app/public'
 - adapt dockerfile to use node:18-bookworm-slim
This commit is contained in:
Kaimbacher 2023-09-04 13:24:58 +02:00
parent 5f8fe1c16d
commit b6b1c90ff8
20 changed files with 941 additions and 278 deletions

View file

@ -19,13 +19,13 @@
"outDir": "build",
"rootDir": "./",
"sourceMap": true,
"moduleResolution": "node", //neu
// "moduleResolution": "node", //neu
"experimentalDecorators": true, //neu
"strictPropertyInitialization": false, //neu
// Target latest language version 'esnext' of ECMAScript or minimal 'es6'.
"target": "esnext", //neu
//what module code is generated
"module": "NodeNext", //neu
// "module": "NodeNext", //neu
"skipLibCheck": true, //neu
"esModuleInterop": true, //neu
"allowSyntheticDefaultImports": true, //neu,