Files: 772daa3657df8581930b0ff42b12d38cb6f29529 / app / client.js
259 bytesRaw
1 | import Client from 'feathers-client' |
2 | import fetch from 'isomorphic-fetch' |
3 | import Url from 'url' |
4 | |
5 | import config from 'app/config' |
6 | |
7 | const apiUrl = Url.format(config.api.url) |
8 | const client = Client(apiUrl) |
9 | .configure(Client.fetch(fetch)) |
10 | |
11 | export default client |
12 |
Built with git-ssb-web