fix: Correct typo in Content-Type header value

This commit is contained in:
William Oldham 2025-01-07 14:56:55 +00:00
parent 69609c37ff
commit 9fff2a4bf7

View File

@ -11,7 +11,7 @@ npdi.get('/p01/data/1/:titleHash/:dataID/:fileHash', (request, response) => {
response.sendFile(contentPath, {
headers: {
'Content-Type': 'applicatoin/octet-stream',
'Content-Type': 'application/octet-stream',
'Content-Disposition': 'attachment',
'Content-Transfer-Encoding': 'binary',
}