mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-08-27 19:44:06 -05:00
file version is actually data ID
This commit is contained in:
@@ -7,7 +7,7 @@ const subdomain = require('express-subdomain');
|
||||
const npdi = express.Router();
|
||||
|
||||
// Setup routes
|
||||
npdi.get('/p01/data/1/:titleHash/:fileVersion/:fileHash', (request, response) => {
|
||||
npdi.get('/p01/data/1/:titleHash/:dataID/:fileHash', (request, response) => {
|
||||
const { titleHash, fileHash } = request.params;
|
||||
const contentPath = path.normalize(`${__dirname}/../../cdn/content/encrypted/${titleHash}/${fileHash}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user