2018-06-25 18:42:30 -07:00
|
|
|
const serveByClaim = require('../../controllers/assets/serveByClaim');
|
|
|
|
const serveByIdentifierAndClaim = require('../../controllers/assets/serveByIdentifierAndClaim');
|
2018-03-28 17:35:41 -07:00
|
|
|
|
2018-06-25 18:42:30 -07:00
|
|
|
module.exports = (app) => {
|
|
|
|
app.get('/:identifier/:claim', serveByIdentifierAndClaim);
|
|
|
|
app.get('/:claim', serveByClaim);
|
2018-03-28 17:35:41 -07:00
|
|
|
};
|