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