Skip to content

Commit

Permalink
set timeout to 15000
Browse files Browse the repository at this point in the history
  • Loading branch information
scammo committed Mar 29, 2024
1 parent e5bc5f2 commit e495370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import axios from 'axios';

const client = axios.create({
baseURL: import.meta.env.VITE_BACKEND_URL ? import.meta.env.VITE_BACKEND_URL : 'http://127.0.0.1:8000/api/',
timeout: 1000
timeout: 15000
});

const user = ref(null)
Expand Down

0 comments on commit e495370

Please sign in to comment.