2018-04-27 18:54:36 +02:00
|
|
|
const serveAssetByClaim = require('../../controllers/assets/serveByClaim');
|
|
|
|
const serveAssetByIdentifierAndClaim = require('../../controllers/assets/serveByIdentifierAndClaim');
|
2018-03-29 02:35:41 +02:00
|
|
|
|
2018-03-29 20:24:52 +02:00
|
|
|
module.exports = (app, db) => {
|
|
|
|
app.get('/:identifier/:claim', serveAssetByIdentifierAndClaim);
|
|
|
|
app.get('/:claim', serveAssetByClaim);
|
2018-03-29 02:35:41 +02:00
|
|
|
};
|