We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3be3442 commit dc06c21Copy full SHA for dc06c21
Track 4_ReactJS_Web Development/Project/Frontend/hrc-dashboard/src/utils/api/doPrediction.js
@@ -7,7 +7,7 @@ const doPrediction = async (payload) => {
7
REACT_APP_FLASK_SERVER_PORT || '5000'
8
}`;
9
try {
10
- const { status, data } = await post(`http://${URL}/get_prediction`, {
+ const { status, data } = await post(`${URL}/get_prediction`, {
11
data: payload,
12
});
13
0 commit comments