diff --git a/src/services/npdi.ts b/src/services/npdi.ts index ee1c2e5..0cc2e75 100644 --- a/src/services/npdi.ts +++ b/src/services/npdi.ts @@ -8,7 +8,7 @@ const npdi = express.Router(); npdi.get('/p01/data/1/:titleHash/:dataID/:fileHash', (request, response) => { const { titleHash, fileHash } = request.params; - const contentPath = path.normalize(`${__appRoot}../cdn/content/encrypted/${titleHash}/${fileHash}`); + const contentPath = path.normalize(`${__appRoot}/../cdn/content/encrypted/${titleHash}/${fileHash}`); response.sendFile(contentPath, { headers: {