From 21483d67d5edb5d89a5b25f8f2cdd01a9d6dda4f Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Tue, 9 Jul 2024 19:13:22 -0400 Subject: [PATCH] Fixed image url error --- Client/src/Features/Auth/authSlice.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Client/src/Features/Auth/authSlice.js b/Client/src/Features/Auth/authSlice.js index e50611648..c26e7332b 100644 --- a/Client/src/Features/Auth/authSlice.js +++ b/Client/src/Features/Auth/authSlice.js @@ -49,6 +49,7 @@ export const update = createAsyncThunk( const fd = new FormData(); const imageResult = await axiosInstance.get(form.file, { responseType: "blob", + baseURL: "", }); fd.append("firstname", form.firstname); fd.append("lastname", form.lastname);