Changeset 8dffe02 for reactapp/src/Pages/University.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/University.js
r9bf1f8d r8dffe02 28 28 29 29 useEffect(() => { 30 Promise.all([fetch(`http://192.168.1. 254:8080/public/faculties?universityId=${params.universityId}`),31 fetch(`http://192.168.1. 254:8080/public/university/${params.universityId}/sectionAndPostCount`)])30 Promise.all([fetch(`http://192.168.1.108:8080/public/faculties?universityId=${params.universityId}`), 31 fetch(`http://192.168.1.108:8080/public/university/${params.universityId}/sectionAndPostCount`)]) 32 32 .then(([resFaculties, counts]) => Promise.all([resFaculties.json(), counts.json()])) 33 33 .then(([dataFaculties, dataCounts]) => {
Note:
See TracChangeset
for help on using the changeset viewer.