git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 3048b3bf2ed0eb30f2d4548e99cdb3a9868e8dd5

Files: 3048b3bf2ed0eb30f2d4548e99cdb3a9868e8dd5 / app / client.js

299 bytesRaw
1import Client from 'feathers/client'
2import Rest from 'feathers-rest/client'
3import fetch from 'isomorphic-fetch'
4import Url from 'url'
5
6import config from 'app/config'
7
8const apiUrl = Url.format(config.api.url)
9const client = Client()
10 .configure(Rest(apiUrl).fetch(fetch))
11
12export default client
13

Built with git-ssb-web