Skip to content

Commit

Permalink
fix: increase axios timeout to 60 seconds for improved request handling
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelVR17 committed Feb 18, 2025
1 parent e5caae1 commit 5798181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/config/axios/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from "axios";

const http = axios.create({
baseURL: process.env.NEXT_PUBLIC_API_URL || "",
timeout: 10000,
timeout: 60000, // 1 minute
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${process.env.NEXT_PUBLIC_API_KEY}`,
Expand Down

0 comments on commit 5798181

Please sign in to comment.