Slightly increase default timeout

closes #517
This commit is contained in:
Matthias 2022-09-04 16:24:30 +02:00
parent d5c52ddd69
commit a57dc2aa7e

View File

@ -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