7 lines
321 B
JavaScript
7 lines
321 B
JavaScript
const serveAssetByClaim = require('../../controllers/assets/serveByClaim');
|
|
const serveAssetByIdentifierAndClaim = require('../../controllers/assets/serveByIdentifierAndClaim');
|
|
|
|
module.exports = (app, db) => {
|
|
app.get('/:identifier/:claim', serveAssetByIdentifierAndClaim);
|
|
app.get('/:claim', serveAssetByClaim);
|
|
};
|