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

prefinal reproducible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • reactapp/src/Components/OpinionTree.js

    r9bf1f8d r8dffe02  
    4646
    4747  useEffect(() => {
    48     const url = `http://192.168.1.254:8080/secure/currentUser`;
     48    const url = `http://192.168.1.108:8080/secure/currentUser`;
    4949
    5050    const fetchUser = async () => {
     
    7272      ) {
    7373        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}`,
    7575          {
    7676            method: "get",
     
    9595      ) {
    9696        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}`,
    9898          {
    9999            method: "get",
     
    150150    if (!replyContent.length < 1) {
    151151      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}`,
    153153        {
    154154          method: "post",
     
    171171    if (!reportContent.length < 1) {
    172172      const response = await axios(
    173           `http://192.168.1.254:8080/secure/reportOpinion/${postId}`,
     173          `http://192.168.1.108:8080/secure/reportOpinion/${postId}`,
    174174          {
    175175            method: "post",
Note: See TracChangeset for help on using the changeset viewer.