10 lines
174 B
JavaScript
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;
|
|
};
|