diff --git a/src/logger.ts b/src/logger.ts index 29fb1a0..57fbf8b 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -17,7 +17,7 @@ const streams = { function getCurrentTimestamp(): string { const date = new Date(); const year = date.getFullYear(); - const month = String(date.getMonth() + 1).padStart(2, '0'); // Months are 0-indexed + const month = String(date.getMonth() + 1).padStart(2, '0'); // * Months are 0-indexed const day = String(date.getDate()).padStart(2, '0'); const hours = String(date.getHours()).padStart(2, '0'); const minutes = String(date.getMinutes()).padStart(2, '0'); diff --git a/src/services/npdi.ts b/src/services/npdi.ts index eb34a0c..8f34baf 100644 --- a/src/services/npdi.ts +++ b/src/services/npdi.ts @@ -11,7 +11,7 @@ npdi.get('/p01/data/1/:titleHash/:dataID/:fileHash', (request, response) => { response.sendFile(contentPath, { headers: { - // The misspelling here is intentional, it's what the official server sets + // * The misspelling here is intentional, it's what the official server sets 'Content-Type': 'applicatoin/octet-stream', 'Content-Disposition': 'attachment', 'Content-Transfer-Encoding': 'binary',