Changeset 8dffe02 for reactapp/src/Components/OpinionTree.js
- Timestamp:
- 01/22/23 16:51:43 (17 months ago)
- Branches:
- main
- Parents:
- 9bf1f8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Components/OpinionTree.js
r9bf1f8d r8dffe02 46 46 47 47 useEffect(() => { 48 const url = `http://192.168.1. 254:8080/secure/currentUser`;48 const url = `http://192.168.1.108:8080/secure/currentUser`; 49 49 50 50 const fetchUser = async () => { … … 72 72 ) { 73 73 const response = await axios( 74 `http://192.168.1. 254:8080/secure/upvoteOpinion/${post.postId}`,74 `http://192.168.1.108:8080/secure/upvoteOpinion/${post.postId}`, 75 75 { 76 76 method: "get", … … 95 95 ) { 96 96 const response = await axios( 97 `http://192.168.1. 254:8080/secure/downvoteOpinion/${post.postId}`,97 `http://192.168.1.108:8080/secure/downvoteOpinion/${post.postId}`, 98 98 { 99 99 method: "get", … … 150 150 if (!replyContent.length < 1) { 151 151 const response = await axios( 152 `http://192.168.1. 254:8080/secure/professor/${professor.professorId}/replyToOpinion/${postId}`,152 `http://192.168.1.108:8080/secure/professor/${professor.professorId}/replyToOpinion/${postId}`, 153 153 { 154 154 method: "post", … … 171 171 if (!reportContent.length < 1) { 172 172 const response = await axios( 173 `http://192.168.1. 254:8080/secure/reportOpinion/${postId}`,173 `http://192.168.1.108:8080/secure/reportOpinion/${postId}`, 174 174 { 175 175 method: "post",
Note:
See TracChangeset
for help on using the changeset viewer.