Skip to content

Commit

Permalink
Increased timeout on captain requests using ky
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiakpiotr authored Sep 6, 2024
1 parent 9a41372 commit 1865e9b
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 1865e9b

Please sign in to comment.