2018-06-26 03:42:30 +02:00
|
|
|
const serveByClaim = require('../../controllers/assets/serveByClaim');
|
|
|
|
const serveByIdentifierAndClaim = require('../../controllers/assets/serveByIdentifierAndClaim');
|
2018-03-29 02:35:41 +02:00
|
|
|
|
2018-06-26 03:42:30 +02:00
|
|
|
module.exports = (app) => {
|
|
|
|
app.get('/:identifier/:claim', serveByIdentifierAndClaim);
|
|
|
|
app.get('/:claim', serveByClaim);
|
2018-03-29 02:35:41 +02:00
|
|
|
};
|