Changeset 8dffe02 for reactapp/src/Pages/Topic.js
- Timestamp:
- 01/22/23 16:51:43 (21 months ago)
- Branches:
- main
- Parents:
- 9bf1f8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
reactapp/src/Pages/Topic.js
r9bf1f8d r8dffe02 55 55 56 56 useEffect(() => { 57 const url1 = `http://192.168.1. 254:8080/public/thread/${params.topicId}`;58 const url2 = `http://192.168.1. 254:8080/secure/currentUser`;57 const url1 = `http://192.168.1.108:8080/public/thread/${params.topicId}`; 58 const url2 = `http://192.168.1.108:8080/secure/currentUser`; 59 59 60 60 const fetchTopic = async () => { … … 121 121 if (!replyContent.length < 1) { 122 122 const response = await axios( 123 `http://192.168.1. 254:8080/secure/subject/${thread.targetSubject.subjectId}/replyToThread/${postId}`,123 `http://192.168.1.108:8080/secure/subject/${thread.targetSubject.subjectId}/replyToThread/${postId}`, 124 124 { 125 125 method: "post", … … 142 142 if (!reportContent.length < 1) { 143 143 const response = await axios( 144 `http://192.168.1. 254:8080/secure/reportThread/${postId}`,144 `http://192.168.1.108:8080/secure/reportThread/${postId}`, 145 145 { 146 146 method: "post", … … 171 171 if (!postContent.length < 1) { 172 172 const response = await axios( 173 `http://192.168.1. 254:8080/secure/subject/${thread.targetSubject.subjectId}/replyToThread/${params.topicId}`,173 `http://192.168.1.108:8080/secure/subject/${thread.targetSubject.subjectId}/replyToThread/${params.topicId}`, 174 174 { 175 175 method: "post", … … 204 204 ) { 205 205 const response = await axios( 206 `http://192.168.1. 254:8080/secure/upvoteThread/${post.postId}`,206 `http://192.168.1.108:8080/secure/upvoteThread/${post.postId}`, 207 207 { 208 208 method: "get", … … 227 227 ) { 228 228 const response = await axios( 229 `http://192.168.1. 254:8080/secure/downvoteThread/${post.postId}`,229 `http://192.168.1.108:8080/secure/downvoteThread/${post.postId}`, 230 230 { 231 231 method: "get",
Note:
See TracChangeset
for help on using the changeset viewer.