Ignore:
Timestamp:
01/22/23 16:51:43 (21 months ago)
Author:
unknown <mlviktor23@…>
Branches:
main
Parents:
9bf1f8d
Message:

prefinal reproducible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • reactapp/src/Pages/Topic.js

    r9bf1f8d r8dffe02  
    5555
    5656  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`;
    5959
    6060    const fetchTopic = async () => {
     
    121121    if (!replyContent.length < 1) {
    122122      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}`,
    124124        {
    125125          method: "post",
     
    142142    if (!reportContent.length < 1) {
    143143      const response = await axios(
    144           `http://192.168.1.254:8080/secure/reportThread/${postId}`,
     144          `http://192.168.1.108:8080/secure/reportThread/${postId}`,
    145145          {
    146146            method: "post",
     
    171171    if (!postContent.length < 1) {
    172172      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}`,
    174174        {
    175175          method: "post",
     
    204204      ) {
    205205        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}`,
    207207          {
    208208            method: "get",
     
    227227      ) {
    228228        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}`,
    230230          {
    231231            method: "get",
Note: See TracChangeset for help on using the changeset viewer.