Skip to content

Commit

Permalink
Increased timeout on captain requests using ky (#1192)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiakpiotr committed Sep 7, 2024
1 parent 9a41372 commit ec326e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/lib/ky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import ky from "ky";
export const captain = ky.create({
prefixUrl: "http://" + env.VITE_BACKEND_HOST + ":" + env.VITE_BACKEND_PORT,
credentials: "include",
timeout: 30000,
});

0 comments on commit ec326e1

Please sign in to comment.