Ignore:
Timestamp:
11/23/22 12:15:28 (20 months ago)
Author:
unknown <mlviktor23@…>
Branches:
main
Children:
af801e3, e49d1b6
Parents:
c68150f
Message:

moderation/reporting api in spring boot

File:
1 edited

Legend:

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

    rc68150f r3b6962d  
    4646
    4747  useEffect(() => {
    48     const url = `http://192.168.0.17:8080/public/subject/${params.subjectId}`;
     48    const url = `http://192.168.0.19:8080/public/subject/${params.subjectId}`;
    4949
    5050    const fetchData = async () => {
     
    6767    if (auth) {
    6868      setTopicModalDisplay("block");
     69      document.body.style.overflowY = "hidden";
    6970    } else {
    7071      navigate("/login");
     
    7475  const handleModalCloseClick = () => {
    7576    setTopicModalDisplay("none");
     77    document.body.style.overflowY = "auto";
    7678  };
    7779
     
    8183    if (!topicTitle.length < 1 && !topicContent.length < 1) {
    8284      const response = await axios(
    83         `http://192.168.0.17:8080/secure/subject/${params.subjectId}/addThread`,
     85        `http://192.168.0.19:8080/secure/subject/${params.subjectId}/addThread`,
    8486        {
    8587          method: "post",
     
    178180                  value={topicTitle}
    179181                  onChange={handleTitleChange}
     182                  spellCheck={false}
    180183                />
    181184              </label>
     
    188191                  value={topicContent}
    189192                  onChange={handleContentChange}
     193                  spellCheck={false}
    190194                />
    191195              </label>
Note: See TracChangeset for help on using the changeset viewer.