1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Basic attachment done

Switch from ky to axios
This commit is contained in:
Zhiyuan Zheng
2020-12-05 01:55:53 +01:00
parent 82d9cdf702
commit b274aef31a
21 changed files with 284 additions and 213 deletions

View File

@ -7,8 +7,8 @@ export const instanceFetch = async (
const res = await client({
method: 'get',
instance: 'remote',
instanceUrl: instance,
endpoint: `instance`
instanceDomain: instance,
url: `instance`
})
return Promise.resolve(res.body)
}