Skip to content

Commit

Permalink
fix request url
Browse files Browse the repository at this point in the history
  • Loading branch information
IGSON2 committed May 27, 2024
1 parent be0e209 commit d73701c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/RoutingPages/AdBidding/AdBidding.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function AddBidding() {
formData.append("image", selectedFile);

try {
const response = await axiosFormClient.post("/bidToken", formData);
const response = await axiosFormClient.post("/auth/bidToken", formData);
console.log(response);
if (response.status === 200) {
setBidOpen(false);
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/RoutingPages/SignUp/SignUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function SignUp() {

const userIDCheck = (e) => {
e.preventDefault();
fetch("https://api.bitmoi.co.kr/user/checkId?user_id=" + userID)
fetch("https://api.bitmoi.co.kr/basic/user/checkId?user_id=" + userID)
.then((res) => {
if (res.ok) {
setUserIdDuplicationText("사용가능");
Expand Down Expand Up @@ -139,7 +139,9 @@ function SignUp() {

const nicknameCheck = (e) => {
e.preventDefault();
fetch("https://api.bitmoi.co.kr/user/checkNickname?nickname=" + nickname)
fetch(
"https://api.bitmoi.co.kr/basic/user/checkNickname?nickname=" + nickname
)
.then((res) => {
if (res.ok) {
setNicknameDuplicationText("사용가능");
Expand Down

0 comments on commit d73701c

Please sign in to comment.