feat: use the api routes for downloading signing certificate and audit logs

This commit is contained in:
Catalin Pit
2025-09-10 14:26:10 +03:00
parent 2ae94b1e55
commit 7080a36f21
4 changed files with 45 additions and 44 deletions

View File

@ -46,7 +46,6 @@ export async function loader({ request, params }: Route.LoaderArgs) {
'Content-Disposition': `attachment; filename="${filename}"`,
'Content-Length': pdfBuffer.length.toString(),
'Cache-Control': 'no-cache, no-store, must-revalidate',
Pragma: 'no-cache',
Expires: '0',
},
});

View File

@ -54,7 +54,6 @@ export async function loader({ request, params }: Route.LoaderArgs) {
'Content-Disposition': `attachment; filename="${filename}"`,
'Content-Length': pdfBuffer.length.toString(),
'Cache-Control': 'no-cache, no-store, must-revalidate',
Pragma: 'no-cache',
Expires: '0',
},
});