mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-08-19 23:54:08 -05:00
Revert "fix: Correct typo in Content-Type header value" and add comment
This reverts commit 9fff2a4bf7.
This commit is contained in:
@@ -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',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user