Changeset 62b653f for reactapp/src/Pages


Ignore:
Timestamp:
08/30/22 15:33:18 (2 years ago)
Author:
unknown <mlviktor23@…>
Branches:
main
Children:
cae16b5
Parents:
2fcbde4
Message:

implemented upvote/downvote func. in react

File:
1 edited

Legend:

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

    r2fcbde4 r62b653f  
    3636
    3737  useEffect(() => {
    38     const url = `http://192.168.0.19:8080/public/professor/${params.professorId}`;
     38    const url = `http://192.168.0.17:8080/public/professor/${params.professorId}`;
    3939
    4040    const fetchData = async () => {
     
    7070
    7171    const response = await axios(
    72       `http://192.168.0.19:8080/secure/professor/${professor.professorId}/addOpinion`,
     72      `http://192.168.0.17:8080/secure/professor/${professor.professorId}/addOpinion`,
    7373      {
    7474        method: "post",
Note: See TracChangeset for help on using the changeset viewer.