mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Now refreshing is more forgiving
This commit is contained in:
@ -24,6 +24,15 @@ const client = async ({
|
||||
body?: FormData
|
||||
onUploadProgress?: (progressEvent: any) => void
|
||||
}): Promise<any> => {
|
||||
console.log(
|
||||
'API call:',
|
||||
'Method ->',
|
||||
method,
|
||||
'Endpoint ->',
|
||||
url,
|
||||
'Params ->',
|
||||
params
|
||||
)
|
||||
const state: RootState['instances'] = store.getState().instances
|
||||
const domain =
|
||||
instance === 'remote' ? instanceDomain || state.remote.url : state.local.url
|
||||
|
Reference in New Issue
Block a user