mhpark / Edu_Tech star
박민혁 박민혁 2024-05-31
240531 박민혁 서버 요청 수정
@d293f8c64bf42bb8c5d974ff26a62554b3fdd2ad
src/components/contents/fairyTravel/FairyTravelBasicVerification.jsx
--- src/components/contents/fairyTravel/FairyTravelBasicVerification.jsx
+++ src/components/contents/fairyTravel/FairyTravelBasicVerification.jsx
@@ -49,7 +49,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/fairyTravel/FairyTravelDeepVerification.jsx
--- src/components/contents/fairyTravel/FairyTravelDeepVerification.jsx
+++ src/components/contents/fairyTravel/FairyTravelDeepVerification.jsx
@@ -21,7 +21,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/fairyWorld/FairyWorldBasicVerification.jsx
--- src/components/contents/fairyWorld/FairyWorldBasicVerification.jsx
+++ src/components/contents/fairyWorld/FairyWorldBasicVerification.jsx
@@ -31,7 +31,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/fairyWorld/FairyWorldDeepVerification.jsx
--- src/components/contents/fairyWorld/FairyWorldDeepVerification.jsx
+++ src/components/contents/fairyWorld/FairyWorldDeepVerification.jsx
@@ -32,7 +32,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/grammarFariy/GrammarFairyBasicVerification.jsx
--- src/components/contents/grammarFariy/GrammarFairyBasicVerification.jsx
+++ src/components/contents/grammarFariy/GrammarFairyBasicVerification.jsx
@@ -20,7 +20,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/grammarFariy/GrammarFairyDeepVerification.jsx
--- src/components/contents/grammarFariy/GrammarFairyDeepVerification.jsx
+++ src/components/contents/grammarFariy/GrammarFairyDeepVerification.jsx
@@ -22,7 +22,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/grammarLand/GrammarLandBasicVerification.jsx
--- src/components/contents/grammarLand/GrammarLandBasicVerification.jsx
+++ src/components/contents/grammarLand/GrammarLandBasicVerification.jsx
@@ -16,7 +16,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/grammarLand/GrammarLandDeepVerification.jsx
--- src/components/contents/grammarLand/GrammarLandDeepVerification.jsx
+++ src/components/contents/grammarLand/GrammarLandDeepVerification.jsx
@@ -18,7 +18,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/sentenceAbsorb/SentenceAbsorbBasicVerification.jsx
--- src/components/contents/sentenceAbsorb/SentenceAbsorbBasicVerification.jsx
+++ src/components/contents/sentenceAbsorb/SentenceAbsorbBasicVerification.jsx
@@ -21,7 +21,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/sentenceAbsorb/SentenceAbsorbDeepVerification.jsx
--- src/components/contents/sentenceAbsorb/SentenceAbsorbDeepVerification.jsx
+++ src/components/contents/sentenceAbsorb/SentenceAbsorbDeepVerification.jsx
@@ -21,7 +21,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/sentenceDiary/SentenceDiaryBasicVerification.jsx
--- src/components/contents/sentenceDiary/SentenceDiaryBasicVerification.jsx
+++ src/components/contents/sentenceDiary/SentenceDiaryBasicVerification.jsx
@@ -16,7 +16,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/sentenceDiary/SentenceDiaryDeepVerification.jsx
--- src/components/contents/sentenceDiary/SentenceDiaryDeepVerification.jsx
+++ src/components/contents/sentenceDiary/SentenceDiaryDeepVerification.jsx
@@ -54,7 +54,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/songCountry/SongCountryBasicVerification.jsx
--- src/components/contents/songCountry/SongCountryBasicVerification.jsx
+++ src/components/contents/songCountry/SongCountryBasicVerification.jsx
@@ -31,7 +31,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/songCountry/SongCountryDeepVerification.jsx
--- src/components/contents/songCountry/SongCountryDeepVerification.jsx
+++ src/components/contents/songCountry/SongCountryDeepVerification.jsx
@@ -31,7 +31,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/songWorld/SongWorldBasicVerification.jsx
--- src/components/contents/songWorld/SongWorldBasicVerification.jsx
+++ src/components/contents/songWorld/SongWorldBasicVerification.jsx
@@ -37,7 +37,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/songWorld/SongWorldDeepVerification.jsx
--- src/components/contents/songWorld/SongWorldDeepVerification.jsx
+++ src/components/contents/songWorld/SongWorldDeepVerification.jsx
@@ -36,7 +36,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/wordAbosrb/WordAbsorbBasicVerification.jsx
--- src/components/contents/wordAbosrb/WordAbsorbBasicVerification.jsx
+++ src/components/contents/wordAbosrb/WordAbsorbBasicVerification.jsx
@@ -22,7 +22,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/wordAbosrb/WordAbsorbDeepVerification.jsx
--- src/components/contents/wordAbosrb/WordAbsorbDeepVerification.jsx
+++ src/components/contents/wordAbosrb/WordAbsorbDeepVerification.jsx
@@ -20,7 +20,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/wordBundle/WordBundleBasicVerification.jsx
--- src/components/contents/wordBundle/WordBundleBasicVerification.jsx
+++ src/components/contents/wordBundle/WordBundleBasicVerification.jsx
@@ -34,7 +34,7 @@
       time: 60 - timer,
       level: 1,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/wordBundle/WordBundleDeepVerification.jsx
--- src/components/contents/wordBundle/WordBundleDeepVerification.jsx
+++ src/components/contents/wordBundle/WordBundleDeepVerification.jsx
@@ -46,7 +46,7 @@
       time: 60 - timer,
       level: 2,
     };
-    const url = "http://localhost:8080/studyAnswer/checkAnswer";
+    const url = "http://165.229.169.127:8080/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/header/Header.jsx
--- src/components/header/Header.jsx
+++ src/components/header/Header.jsx
@@ -12,7 +12,7 @@
   };
 
   const sendLogout = () => {
-    const url = "http://localhost:8080/logout";
+    const url = "http://165.229.169.127:8080/logout";
 
     axios
       .get(url, { withCredentials: true })
src/components/lessons/lesson1.jsx
--- src/components/lessons/lesson1.jsx
+++ src/components/lessons/lesson1.jsx
@@ -87,7 +87,7 @@
   const [solved, setSolved] = useState([]);
   const fetchData = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/member/solved`, {
+      const response = await axios.get(`http://165.229.169.127:8080/member/solved`, {
         withCredentials: true,
       });
       if (response.data && response.data.result) {
src/pages/login/LoginPage.jsx
--- src/pages/login/LoginPage.jsx
+++ src/pages/login/LoginPage.jsx
@@ -25,7 +25,7 @@
       username: username,
       password: password,
     };
-    const url = "http://localhost:8080/login";
+    const url = "http://165.229.169.127:8080/login";
 
     axios
       .post(url, data, { withCredentials: true })
src/pages/main/MainParent.jsx
--- src/pages/main/MainParent.jsx
+++ src/pages/main/MainParent.jsx
@@ -59,7 +59,7 @@
   const fetchStudent = async () => {
     try {
       const response = await axios.get(
-        `http://localhost:8080/member/student?userId=sangbabo`,
+        `http://165.229.169.127:8080/member/student?userId=sangbabo`,
         {
           withCredentials: true,
         }
@@ -74,7 +74,7 @@
   const fetchSolved = async () => {
     try {
       const response = await axios.get(
-        `http://localhost:8080/parents/solved?userId=sangbabo`,
+        `http://165.229.169.127:8080/parents/solved?userId=sangbabo`,
         {
           withCredentials: true,
         }
@@ -90,7 +90,7 @@
 
   const fetchSolvedCount = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/solved/count`, {
+      const response = await axios.get(`http://165.229.169.127:8080/solved/count`, {
         withCredentials: true,
       });
       const data = response.data;
@@ -120,7 +120,7 @@
   const fetchData = async () => {
     try {
       const response = await axios.get(
-        "http://localhost:8080/scorelog/parents/latest?userId=sangbabo",
+        "http://165.229.169.127:8080/scorelog/parents/latest?userId=sangbabo",
         {
           withCredentials: true,
         }
@@ -207,7 +207,7 @@
   const fetchSumData = async () => {
     try {
       const response = await axios.get(
-        "http://localhost:8080/scorelog/parents/sum?userId=sangbabo",
+        "http://165.229.169.127:8080/scorelog/parents/sum?userId=sangbabo",
         {
           withCredentials: true,
         }
@@ -233,7 +233,7 @@
   const fetchSumAverage = async () => {
     try {
       const response = await axios.get(
-        "http://localhost:8080/average-total-score",
+        "http://165.229.169.127:8080/average-total-score",
         {
           withCredentials: true,
         }
src/pages/main/MainSelect.jsx
--- src/pages/main/MainSelect.jsx
+++ src/pages/main/MainSelect.jsx
@@ -7,7 +7,7 @@
   const navigate = useNavigate();
   const fetchData = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/rating`, {
+      const response = await axios.get(`http://165.229.169.127:8080/rating`, {
         withCredentials: true,
       });
       const responseData = response.data.data; // response.data는 이미 JavaScript 객체로 사용 가능합니다.
src/pages/main/MainStudent.jsx
--- src/pages/main/MainStudent.jsx
+++ src/pages/main/MainStudent.jsx
@@ -43,7 +43,7 @@
 
   const fetchSolved = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/member/solved`, {
+      const response = await axios.get(`http://165.229.169.127:8080/member/solved`, {
         withCredentials: true,
       });
       console.log(response);
@@ -57,7 +57,7 @@
 
   const fetchSolvedCount = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/solved/count`, {
+      const response = await axios.get(`http://165.229.169.127:8080/solved/count`, {
         withCredentials: true,
       });
       const data = response.data;
@@ -87,7 +87,7 @@
   const fetchData = async () => {
     try {
       const response = await axios.get(
-        "http://localhost:8080/scorelog/latest",
+        "http://165.229.169.127:8080/scorelog/latest",
         {
           withCredentials: true,
         }
src/pages/main/MainTeacher.jsx
--- src/pages/main/MainTeacher.jsx
+++ src/pages/main/MainTeacher.jsx
@@ -34,7 +34,7 @@
     console.log(onlyStudent, comment);
     try {
       const response = await axios.put(
-        `http://localhost:8080/updateComment`,
+        `http://165.229.169.127:8080/updateComment`,
         { id: onlyStudent, comment: comment },
         {
           withCredentials: true,
@@ -82,7 +82,7 @@
 
   const fetchStudents = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/studentAll`, {
+      const response = await axios.get(`http://165.229.169.127:8080/studentAll`, {
         withCredentials: true,
       });
       console.log(response.data);
@@ -94,7 +94,7 @@
 
   const fetchSolvedCount = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/solved/count`, {
+      const response = await axios.get(`http://165.229.169.127:8080/solved/count`, {
         withCredentials: true,
       });
       const data = response.data;
@@ -127,7 +127,7 @@
       setClickComment(studentComment);
       setOnlyStudent(studentId);
       const response = await axios.get(
-        `http://localhost:8080/scorelog/parents/latest?userId=${studentId}`,
+        `http://165.229.169.127:8080/scorelog/parents/latest?userId=${studentId}`,
         {
           withCredentials: true,
         }
@@ -199,7 +199,7 @@
   const fetchData = async () => {
     try {
       const response = await axios.get(
-        "http://localhost:8080/scorelog/averages/all",
+        "http://165.229.169.127:8080/scorelog/averages/all",
         {
           withCredentials: true,
         }
@@ -365,7 +365,7 @@
   const fetchSumAverage = async () => {
     try {
       const response = await axios.get(
-        "http://localhost:8080/average-total-score",
+        "http://165.229.169.127:8080/average-total-score",
         {
           withCredentials: true,
         }
src/pages/main/mainp.jsx
--- src/pages/main/mainp.jsx
+++ src/pages/main/mainp.jsx
@@ -38,9 +38,10 @@
         return null;
     }
   };
+  
   const fetchData = async () => {
     try {
-      const response = await axios.get(`http://localhost:8080/rating`, {
+      const response = await axios.get(`http://165.229.169.127:8080/rating`, {
         withCredentials: true,
       });
       const responseData = response.data.data; // response.data는 이미 JavaScript 객체로 사용 가능합니다.
@@ -58,7 +59,6 @@
       console.error("Error fetching data: ", error);
     }
   };
-
   useEffect(() => {
     fetchData();
   }, []);
@@ -66,11 +66,10 @@
   const [comment, setComment] = useState(
     "어서와~ 꿈 속 우주공간은 처음이지? 여행하고 싶은 행성을 골라봐~"
   );
-
   useEffect(() => {
     const fetchData = async () => {
       try {
-        const response = await axios.get("http://localhost:8080/member", {
+        const response = await axios.get("http://165.229.169.127:8080/member", {
           withCredentials: true,
         });
         console.log(response);
src/pages/my/MyPage.jsx
--- src/pages/my/MyPage.jsx
+++ src/pages/my/MyPage.jsx
@@ -6,7 +6,7 @@
   useEffect(() => {
     const fetchData = async () => {
       try {
-        const response = await axios.get('http://localhost:8080/member', {
+        const response = await axios.get('http://165.229.169.127:8080/member', {
           withCredentials: true,
         });
         console.log(response);
src/pages/signup/SignUpPage.jsx
--- src/pages/signup/SignUpPage.jsx
+++ src/pages/signup/SignUpPage.jsx
@@ -24,7 +24,7 @@
     try {
       // axios를 사용하여 POST 요청 전송
       const response = await axios.post(
-        "http://localhost:8080/register",
+        "http://165.229.169.127:8080/register",
         userData
       );
       console.log("회원가입 성공:", response.data);
src/pages/studyMainFairyTravel/StudyMainFairyTravel.jsx
--- src/pages/studyMainFairyTravel/StudyMainFairyTravel.jsx
+++ src/pages/studyMainFairyTravel/StudyMainFairyTravel.jsx
@@ -31,7 +31,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/bookTravel?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/bookTravel?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
       setContents(response.data);
src/pages/studyMainFairyWorld/StudyMainFairyWorld.jsx
--- src/pages/studyMainFairyWorld/StudyMainFairyWorld.jsx
+++ src/pages/studyMainFairyWorld/StudyMainFairyWorld.jsx
@@ -44,7 +44,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/bookWorld?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/bookWorld?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
 
src/pages/studyMainGrammarFairy/studyMainGrammarFairy.jsx
--- src/pages/studyMainGrammarFairy/studyMainGrammarFairy.jsx
+++ src/pages/studyMainGrammarFairy/studyMainGrammarFairy.jsx
@@ -45,7 +45,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/grammarFairy?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/grammarFairy?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
       setContents(response.data);
src/pages/studyMainGrammarLand/StudyMainGrammarLand.jsx
--- src/pages/studyMainGrammarLand/StudyMainGrammarLand.jsx
+++ src/pages/studyMainGrammarLand/StudyMainGrammarLand.jsx
@@ -45,7 +45,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/grammarLand?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/grammarLand?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
 
src/pages/studyMainSentenceAbsorb/StudyMainSentenceAbsorb.jsx
--- src/pages/studyMainSentenceAbsorb/StudyMainSentenceAbsorb.jsx
+++ src/pages/studyMainSentenceAbsorb/StudyMainSentenceAbsorb.jsx
@@ -21,7 +21,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/sentenceAbsorb?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/sentenceAbsorb?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
       setContents(response.data);
src/pages/studyMainSentenceDiary/StudyMainSentenceDiary.jsx
--- src/pages/studyMainSentenceDiary/StudyMainSentenceDiary.jsx
+++ src/pages/studyMainSentenceDiary/StudyMainSentenceDiary.jsx
@@ -45,7 +45,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/sentenceDiary?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/sentenceDiary?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
       setContents(response.data);
src/pages/studyMainSongCountry/StudyMainSongCountry.jsx
--- src/pages/studyMainSongCountry/StudyMainSongCountry.jsx
+++ src/pages/studyMainSongCountry/StudyMainSongCountry.jsx
@@ -51,7 +51,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/songCountry?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/songCountry?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
 
src/pages/studyMainSongWorld/StudyMainSongWorld.jsx
--- src/pages/studyMainSongWorld/StudyMainSongWorld.jsx
+++ src/pages/studyMainSongWorld/StudyMainSongWorld.jsx
@@ -41,7 +41,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/songWorld?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/songWorld?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
 
src/pages/studyMainWordAbsorb/StudyMainWordAbsorb.jsx
--- src/pages/studyMainWordAbsorb/StudyMainWordAbsorb.jsx
+++ src/pages/studyMainWordAbsorb/StudyMainWordAbsorb.jsx
@@ -45,7 +45,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/wordAbsorb?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/wordAbsorb?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
       setContents(response.data);
src/pages/studyMainWordBundle/StudyMainWordBundle.jsx
--- src/pages/studyMainWordBundle/StudyMainWordBundle.jsx
+++ src/pages/studyMainWordBundle/StudyMainWordBundle.jsx
@@ -45,7 +45,7 @@
       console.log(contentType);
 
       const response = await axios.get(
-        `http://localhost:8080/studyType/wordBundle?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://165.229.169.127:8080/studyType/wordBundle?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
       setContents(response.data);
Add a comment
List