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

prefinal reproducible

File:
1 edited

Legend:

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

    r9bf1f8d r8dffe02  
    4242
    4343  useEffect(() => {
    44      Promise.all([fetch(`http://192.168.1.254:8080/public/professor/${params.professorId}`),
    45      fetch(`http://192.168.1.254:8080/public/professor/${params.professorId}/relatedOpinions`)])
     44     Promise.all([fetch(`http://192.168.1.108:8080/public/professor/${params.professorId}`),
     45     fetch(`http://192.168.1.108:8080/public/professor/${params.professorId}/relatedOpinions`)])
    4646        .then(([resProfessor, resRelatedOpinions]) => Promise.all([resProfessor.json(), resRelatedOpinions.json()]))
    4747        .then(([dataProfessor, dataRelatedOpinions]) => {
     
    8080    if (!postContent.length < 1) {
    8181      const response = await axios(
    82         `http://192.168.1.254:8080/secure/professor/${params.professorId}/addOpinion`,
     82        `http://192.168.1.108:8080/secure/professor/${params.professorId}/addOpinion`,
    8383        {
    8484          method: "post",
Note: See TracChangeset for help on using the changeset viewer.