fix: nginx proxy URI, SW cache, sw.js no-cache
This commit is contained in:
@@ -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' }))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user