fetch-dht/routes/index.js
2020-04-12 16:33:32 -05:00

10 lines
174 B
JavaScript

const Router = require('express-promise-router');
module.exports = (params) => {
const app = Router();
app.use('/fetch', require('./fetch')(params));
return app;
};