Changeset 8dffe02 for reactapp/src/Pages/Home.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/Home.js
r9bf1f8d r8dffe02 14 14 15 15 useEffect(() => { 16 Promise.all([fetch(`http://192.168.1. 254:8080/public/latest10opinions`),17 fetch(`http://192.168.1. 254:8080/public/latest10threads`)])16 Promise.all([fetch(`http://192.168.1.108:8080/public/latest10opinions`), 17 fetch(`http://192.168.1.108:8080/public/latest10threads`)]) 18 18 .then(([resOpinions, resThreads]) => Promise.all([resOpinions.json(), resThreads.json()])) 19 19 .then(([dataOpinions, dataThreads]) => {
Note:
See TracChangeset
for help on using the changeset viewer.