mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-22 19:15:15 +00:00
parent
d5c52ddd69
commit
a57dc2aa7e
|
@ -5,7 +5,7 @@ import { UserService } from './userService';
|
||||||
export function useApi(userService: UserService, botId: string) {
|
export function useApi(userService: UserService, botId: string) {
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
baseURL: userService.getBaseUrl(),
|
baseURL: userService.getBaseUrl(),
|
||||||
timeout: 10000,
|
timeout: 20000,
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
});
|
});
|
||||||
// Sent auth headers interceptor
|
// Sent auth headers interceptor
|
||||||
|
|
Loading…
Reference in New Issue
Block a user