diff --git a/src/components/GuestInfoForm.jsx b/src/components/GuestInfoForm.jsx index 1c4f542..ae56ed0 100644 --- a/src/components/GuestInfoForm.jsx +++ b/src/components/GuestInfoForm.jsx @@ -241,11 +241,15 @@ const GuestInfoForm = () => { if (idFile) formData.append("idFile", idFile); try { - await axios.patch("/api/v1/user/my/update-profile", formData, { - headers: { - Authorization: `Bearer ${token}`, - }, - }); + await axios.patch( + "http://44.251.104.213:8080/api/v1/user/my/update-profile", + formData, + { + headers: { + Authorization: `Bearer ${token}`, + }, + } + ); setNextStep(3); // SignupSuccess 화면으로 이동 } catch (err) { console.error(err); diff --git a/src/components/HostInfoForm.jsx b/src/components/HostInfoForm.jsx index d18ed5e..1ec8cae 100644 --- a/src/components/HostInfoForm.jsx +++ b/src/components/HostInfoForm.jsx @@ -253,11 +253,15 @@ const HostInfoForm = () => { if (bankFile) formData.append("bankFile", bankFile); try { - await axios.patch("/api/v1/user/my/update-profile", formData, { - headers: { - Authorization: `Bearer ${token}`, - }, - }); + await axios.patch( + "http://44.251.104.213:8080/api/v1/user/my/update-profile", + formData, + { + headers: { + Authorization: `Bearer ${token}`, + }, + } + ); setNextStep(3); // SignupSuccess 화면으로 이동 } catch (err) { console.error(err);