Add Posthog tracking + fix extension download + doc

This commit is contained in:
2026-07-30 21:26:52 +02:00
parent 028170f103
commit 24f7ab2625
5 changed files with 26 additions and 4 deletions
+2 -1
View File
@@ -147,8 +147,9 @@ export function createApp(config, pool) {
}
const filePath = outputPath(config, job.id, job.targetFormat);
const downloadFilename = `${path.parse(job.originalFilename).name}.${job.targetFormat}`;
res.set('Content-Type', job.outputMimeType);
res.set('Content-Disposition', contentDispositionHeader(job.originalFilename));
res.set('Content-Disposition', contentDispositionHeader(downloadFilename));
fs.createReadStream(filePath).pipe(res);
});