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) {
const api = axios.create({
baseURL: userService.getBaseUrl(),
timeout: 10000,
timeout: 20000,
withCredentials: true,
});
// Sent auth headers interceptor