Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/axiosConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from 'axios';

const api = axios.create({
baseURL: 'http://localhost:8080',
baseURL: '',
withCredentials: true,
headers: {
'Content-Type': 'application/json',
Expand All @@ -19,7 +19,7 @@ api.interceptors.response.use(

try {

await axios.post('http://localhost:8080/auth/refresh', {}, { withCredentials: true });
await axios.post('/auth/refresh', {}, { withCredentials: true });


return api(originalRequest);
Expand Down
Loading