mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-08-22 09:04:09 -05:00
fix: fix npdi for real - missed a slash!
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user