Commit 5d8f25d
fix(logfiles): use sendZip for /ziplogs to fix res.zip 500 (#2795)
The /skServer/ziplogs handler still called res.zip(), the API of the
removed express-easy-zip middleware. Since that dependency is gone,
res.zip is undefined at request time, so 'Get all logs in one ZIP file'
fails with TypeError: res.zip is not a function (HTTP 500).
Migrate the call site to the archiver-based sendZip() helper, mirroring
the existing backup-download path in serverroutes.ts. This was the sole
remaining res.zip caller in the tree.
Co-authored-by: dirkwa <dirkwahrtheit@gmail.com>1 parent 982f5be commit 5d8f25d
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
0 commit comments