Changeset 8dffe02 for reactapp/src/Pages/Professor.js
- Timestamp:
- 01/22/23 16:51:43 (18 months ago)
- Branches:
- main
- Parents:
- 9bf1f8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Pages/Professor.js
r9bf1f8d r8dffe02 42 42 43 43 useEffect(() => { 44 Promise.all([fetch(`http://192.168.1. 254:8080/public/professor/${params.professorId}`),45 fetch(`http://192.168.1. 254:8080/public/professor/${params.professorId}/relatedOpinions`)])44 Promise.all([fetch(`http://192.168.1.108:8080/public/professor/${params.professorId}`), 45 fetch(`http://192.168.1.108:8080/public/professor/${params.professorId}/relatedOpinions`)]) 46 46 .then(([resProfessor, resRelatedOpinions]) => Promise.all([resProfessor.json(), resRelatedOpinions.json()])) 47 47 .then(([dataProfessor, dataRelatedOpinions]) => { … … 80 80 if (!postContent.length < 1) { 81 81 const response = await axios( 82 `http://192.168.1. 254:8080/secure/professor/${params.professorId}/addOpinion`,82 `http://192.168.1.108:8080/secure/professor/${params.professorId}/addOpinion`, 83 83 { 84 84 method: "post",
Note:
See TracChangeset
for help on using the changeset viewer.