mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-04-24 06:57:06 -05:00
Revert "fix: Correct typo in Content-Type header value" and add comment
This reverts commit 9fff2a4bf7.
This commit is contained in:
parent
9fff2a4bf7
commit
6f292b6321
|
|
@ -11,7 +11,8 @@ npdi.get('/p01/data/1/:titleHash/:dataID/:fileHash', (request, response) => {
|
|||
|
||||
response.sendFile(contentPath, {
|
||||
headers: {
|
||||
'Content-Type': 'application/octet-stream',
|
||||
// The misspelling here is intentional, it's what the official server sets
|
||||
'Content-Type': 'applicatoin/octet-stream',
|
||||
'Content-Disposition': 'attachment',
|
||||
'Content-Transfer-Encoding': 'binary',
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user