Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Add timeout to frontend api client
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-goodwin committed Jul 11, 2020
1 parent 6301565 commit 503ba72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/lib/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default class ApiClient {
constructor() {
this.client = axios.create({
baseURL: "/api/v1",
timeout: 10000,
headers: {
"CONTENT_TYPE": "application/json"
}
Expand Down

0 comments on commit 503ba72

Please sign in to comment.