fix: nginx proxy URI, SW cache, sw.js no-cache

This commit is contained in:
Claude
2026-05-01 07:53:56 +02:00
parent 16820c5c14
commit e67574f1c6
8 changed files with 45 additions and 6 deletions
+2 -1
View File
@@ -168,4 +168,5 @@ exportRouter.get('/excel', (req: AuthRequest, res) => {
const filename = `shoottracker_${format(new Date(), 'yyyy-MM-dd')}.xlsx`
res.setHeader('Content-Type', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')
res.setHeader('Content-Disposition', `attachment; filename="${filename}"`)
res.send(XLSX.write(wb, { type: 'buffer', bookType:
res.send(XLSX.write(wb, { type: 'buffer', bookType: 'xlsx' }))
})