fix: increase timeout for now
This commit is contained in:
@@ -12,7 +12,7 @@ import { logger } from "../logger"
|
||||
|
||||
export const followClient = new FollowClient({
|
||||
credentials: "include",
|
||||
timeout: 10000,
|
||||
timeout: 30000,
|
||||
|
||||
baseURL: env.VITE_API_URL,
|
||||
fetch: async (input, options = {}) =>
|
||||
|
||||
@@ -11,7 +11,7 @@ import { getClientId, getSessionId } from "./client-session"
|
||||
|
||||
export const followClient = new FollowClient({
|
||||
credentials: "include",
|
||||
timeout: 10000,
|
||||
timeout: 30000,
|
||||
baseURL: env.VITE_API_URL,
|
||||
fetch: async (input, options = {}) =>
|
||||
fetch(input.toString(), {
|
||||
|
||||
@@ -15,7 +15,7 @@ import { proxyEnv } from "./proxy-env"
|
||||
|
||||
export const followClient = new FollowClient({
|
||||
credentials: "omit",
|
||||
timeout: 10000,
|
||||
timeout: 30000,
|
||||
baseURL: proxyEnv.API_URL,
|
||||
fetch: async (input, options = {}) => fetch(input.toString(), options as any) as any,
|
||||
})
|
||||
|
||||
@@ -8,7 +8,7 @@ import PKG from "../../../desktop/package.json"
|
||||
|
||||
export const followClient = new FollowClient({
|
||||
credentials: "include",
|
||||
timeout: 10000,
|
||||
timeout: 30000,
|
||||
baseURL: env.VITE_EXTERNAL_API_URL || env.VITE_API_URL,
|
||||
fetch: async (input: any, options = {}) =>
|
||||
fetch(input.toString(), {
|
||||
|
||||
@@ -62,7 +62,7 @@ export const createFollowClient = () => {
|
||||
|
||||
const client = new FollowClient({
|
||||
credentials: "include",
|
||||
timeout: 10000,
|
||||
timeout: 30000,
|
||||
baseURL,
|
||||
fetch: async (input: any, options = {}) => fetch(input.toString(), options),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user