Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
registerService: function registerService(service) {
Fetchr.registerFetcher(service);
},
/**
export default function bootServices(app) {
const hikesService = getHikesService(app);
Fetchr.registerFetcher(hikesService);
app.use('/services', Fetchr.middleware());
}
export default function bootServices(app) {
const user = getUserServices(app);
Fetchr.registerFetcher(user);
const middleware = Fetchr.middleware();
app.use('/external/services', middleware);
app.use('/internal/services', middleware);
}