Skip to content

Commit

Permalink
env-backend-api
Browse files Browse the repository at this point in the history
  • Loading branch information
pemba1s1 committed Feb 13, 2024
1 parent 947badb commit 588ac79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
},
"dependencies": {
"@testing-library/jest-dom": "^5.17.0",
"dompurify": "^2.4.7",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"antd": "^4.24.15",
"antd-img-crop": "^3.16.0",
"axios": "^1.6.7",
"dayjs": "^1.11.10",
"dompurify": "^2.4.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-infinite-scroll-component": "^6.1.0",
Expand Down Expand Up @@ -48,8 +48,8 @@
]
},
"devDependencies": {
"nodemon": "^3.0.3",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11"
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"nodemon": "^3.0.3"
},
"proxy": "http://localhost:5000"
}
2 changes: 1 addition & 1 deletion client/src/router/axiosInstance.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from "axios";

const instance = axios.create({
baseURL: 'http://localhost:5000'
baseURL: process.env.REACT_APP_API_URL
});

export default instance;

0 comments on commit 588ac79

Please sign in to comment.