fix: corrections SW cache, nginx proxy, sw.js no-cache — 2026-05-01 05:48

This commit is contained in:
Claude Deploy
2026-05-01 05:48:38 +00:00
parent 5dc52a0413
commit 16820c5c14
9 changed files with 25 additions and 48 deletions
+1 -2
View File
@@ -168,5 +168,4 @@ 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: 'xlsx' }))
})
res.send(XLSX.write(wb, { type: 'buffer', bookType: