2018-03-29 02:35:41 +02:00
|
|
|
const serveAssetByClaim = require('./serveAssetByClaim');
|
|
|
|
const serveAssetByIdentifierAndClaim = require('./serveAssetByIdentifierAndClaim');
|
|
|
|
|
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
|
|
|
};
|