fetch-dht/routes/index.js

10 lines
174 B
JavaScript
Raw Normal View History

2020-04-12 21:33:32 +00:00
const Router = require('express-promise-router');
module.exports = (params) => {
const app = Router();
app.use('/fetch', require('./fetch')(params));
return app;
};