Add backend unit/integration tests, Playwright e2e tests, README, cookie Secure fix
SonarQube Analysis / sonarqube (push) Successful in 4m20s

This commit is contained in:
2026-08-13 22:35:38 +00:00
parent 2adbf24b23
commit 921022c658
25 changed files with 6600 additions and 57 deletions
+2 -1
View File
@@ -5,8 +5,9 @@ import { pool } from '../db';
const router = Router();
const UPLOADS_DIR = process.env.UPLOADS_DIR || '/app/uploads';
const storage = multer.diskStorage({
destination: '/app/uploads',
destination: UPLOADS_DIR,
filename: (_req, file, cb) => {
const ext = path.extname(file.originalname);
cb(null, `${Date.now()}-${Math.round(Math.random() * 1e6)}${ext}`);