mhpark / Edu_Tech star
박민혁 박민혁 2024-06-11
240611 박민혁 리눅스 서버 이동
@7d98bb8b3d1070921f90a30d7a7c36288fb91948
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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/wordBundle/WordBundleBasicLearning.jsx
--- src/components/contents/wordBundle/WordBundleBasicLearning.jsx
+++ src/components/contents/wordBundle/WordBundleBasicLearning.jsx
@@ -1,17 +1,14 @@
-import React, { useState } from "react";
+import React, { useRef } from "react";
 import "./WordBundleBasicLearning.css";
 
 const WordBundleBasicLearning = ({ contents }) => {
-  const [isPlaying, setIsPlaying] = useState(false);
+  const audioRef = useRef(null);
 
-  const toggleAudio = () => {
-    const audio = document.getElementById("song-audio");
-    if (isPlaying) {
-      audio.pause();
-    } else {
-      audio.play();
+  // 이미지 클릭 시 오디오 재생
+  const playAudio = () => {
+    if (audioRef.current) {
+      audioRef.current.play();
     }
-    setIsPlaying(!isPlaying);
   };
 
   if (!contents) {
@@ -23,16 +20,14 @@
         src={contents.image}
         alt="이미지"
         className="wordBundle-basic-learning-img"
-        onClick={toggleAudio}
+        onClick={playAudio}
       />
+      <audio ref={audioRef} src={contents.file} />
 
       <div className="wordBundle-basic-learning-word">
         <h1>{contents.word}</h1>
         <h3>{contents.wordMeaning}</h3>
       </div>
-      <audio id="song-audio" controls style={{ display: "none" }}>
-            <source src={contents.file} type="audio/mpeg" />
-          </audio>
     </>
   );
 };
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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/studyAnswer/checkAnswer";
 
     axios
       .post(url, data, { withCredentials: true })
src/components/contents/wordBundle/WordBundleDeepLearning.jsx
--- src/components/contents/wordBundle/WordBundleDeepLearning.jsx
+++ src/components/contents/wordBundle/WordBundleDeepLearning.jsx
@@ -1,19 +1,15 @@
-import React, { useState }  from "react";
+import React, { useRef }  from "react";
 import "./WordBundleDeepLearning.css";
 
 const WordBundleDeepLearning = ({ contents }) => {
-  const [isPlaying, setIsPlaying] = useState(false);
+  const audioRef = useRef(null);
 
-  const toggleAudio = () => {
-    const audio = document.getElementById("song-audio");
-    if (isPlaying) {
-      audio.pause();
-    } else {
-      audio.play();
+  // 이미지 클릭 시 오디오 재생
+  const playAudio = () => {
+    if (audioRef.current) {
+      audioRef.current.play();
     }
-    setIsPlaying(!isPlaying);
   };
-
 
   if (!contents) {
     return <div>Loading...</div>;
@@ -24,16 +20,14 @@
         src={contents.image}
         alt="이미지"
         className="wordBundle-basic-learning-img"
-        onClick={toggleAudio}
+        onClick={playAudio}
       />
+      <audio ref={audioRef} src={contents.sentence_file} />
 
       <div className="wordBundle-basic-learning-word">
         <h1>{contents.sentence}</h1>
         <h3>{contents.sentence_meaning}</h3>
       </div>
-      <audio id="song-audio" controls style={{ display: "none" }}>
-            <source src={contents.sentence_file} type="audio/mpeg" />
-          </audio>
 
     </>
   );
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://165.229.169.127:8080/studyAnswer/checkAnswer";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/logout";
+    const url = "http://takensoftai.iptime.org:32344/logout";
 
     axios
       .get(url, { withCredentials: true })
src/components/lessons/lesson1.jsx
--- src/components/lessons/lesson1.jsx
+++ src/components/lessons/lesson1.jsx
@@ -88,7 +88,7 @@
   const [solved, setSolved] = useState([]);
   const fetchData = async () => {
     try {
-      const response = await axios.get(`http://165.229.169.127:8080/member/solved`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/login";
+    const url = "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/member/student?userId=sangbabo`,
+        `http://takensoftai.iptime.org:32344/member/student?userId=sangbabo`,
         {
           withCredentials: true,
         }
@@ -74,7 +74,7 @@
   const fetchSolved = async () => {
     try {
       const response = await axios.get(
-        `http://165.229.169.127:8080/parents/solved?userId=sangbabo`,
+        `http://takensoftai.iptime.org:32344/parents/solved?userId=sangbabo`,
         {
           withCredentials: true,
         }
@@ -90,7 +90,7 @@
 
   const fetchSolvedCount = async () => {
     try {
-      const response = await axios.get(`http://165.229.169.127:8080/solved/count`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/solved/count`, {
         withCredentials: true,
       });
       const data = response.data;
@@ -120,7 +120,7 @@
   const fetchData = async () => {
     try {
       const response = await axios.get(
-        "http://165.229.169.127:8080/scorelog/parents/latest?userId=sangbabo",
+        "http://takensoftai.iptime.org:32344/scorelog/parents/latest?userId=sangbabo",
         {
           withCredentials: true,
         }
@@ -207,7 +207,7 @@
   const fetchSumData = async () => {
     try {
       const response = await axios.get(
-        "http://165.229.169.127:8080/scorelog/parents/sum?userId=sangbabo",
+        "http://takensoftai.iptime.org:32344/scorelog/parents/sum?userId=sangbabo",
         {
           withCredentials: true,
         }
@@ -233,7 +233,7 @@
   const fetchSumAverage = async () => {
     try {
       const response = await axios.get(
-        "http://165.229.169.127:8080/average-total-score",
+        "http://takensoftai.iptime.org:32344/average-total-score",
         {
           withCredentials: true,
         }
src/pages/main/MainSelect.jsx
--- src/pages/main/MainSelect.jsx
+++ src/pages/main/MainSelect.jsx
@@ -10,7 +10,7 @@
   const navigate = useNavigate();
   const fetchData = async () => {
     try {
-      const response = await axios.get(`http://165.229.169.127:8080/rating`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/member/solved`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/member/solved`, {
         withCredentials: true,
       });
       console.log(response);
@@ -57,7 +57,7 @@
 
   const fetchSolvedCount = async () => {
     try {
-      const response = await axios.get(`http://165.229.169.127:8080/solved/count`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/solved/count`, {
         withCredentials: true,
       });
       const data = response.data;
@@ -87,7 +87,7 @@
   const fetchData = async () => {
     try {
       const response = await axios.get(
-        "http://165.229.169.127:8080/scorelog/latest",
+        "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/updateComment`,
+        `http://takensoftai.iptime.org:32344/updateComment`,
         { id: onlyStudent, comment: comment },
         {
           withCredentials: true,
@@ -82,7 +82,7 @@
 
   const fetchStudents = async () => {
     try {
-      const response = await axios.get(`http://165.229.169.127:8080/studentAll`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/studentAll`, {
         withCredentials: true,
       });
       console.log(response.data);
@@ -94,7 +94,7 @@
 
   const fetchSolvedCount = async () => {
     try {
-      const response = await axios.get(`http://165.229.169.127:8080/solved/count`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/solved/count`, {
         withCredentials: true,
       });
       const data = response.data;
@@ -127,7 +127,7 @@
       setClickComment(studentComment);
       setOnlyStudent(studentId);
       const response = await axios.get(
-        `http://165.229.169.127:8080/scorelog/parents/latest?userId=${studentId}`,
+        `http://takensoftai.iptime.org:32344/scorelog/parents/latest?userId=${studentId}`,
         {
           withCredentials: true,
         }
@@ -199,7 +199,7 @@
   const fetchData = async () => {
     try {
       const response = await axios.get(
-        "http://165.229.169.127:8080/scorelog/averages/all",
+        "http://takensoftai.iptime.org:32344/scorelog/averages/all",
         {
           withCredentials: true,
         }
@@ -365,7 +365,7 @@
   const fetchSumAverage = async () => {
     try {
       const response = await axios.get(
-        "http://165.229.169.127:8080/average-total-score",
+        "http://takensoftai.iptime.org:32344/average-total-score",
         {
           withCredentials: true,
         }
src/pages/main/mainp.jsx
--- src/pages/main/mainp.jsx
+++ src/pages/main/mainp.jsx
@@ -43,7 +43,7 @@
   const fetchData = async () => {
     
     try {
-      const response = await axios.get(`http://165.229.169.127:8080/rating`, {
+      const response = await axios.get(`http://takensoftai.iptime.org:32344/rating`, {
         withCredentials: true,
       });
       const responseData = response.data.data; // response.data는 이미 JavaScript 객체로 사용 가능합니다.
@@ -78,7 +78,7 @@
   useEffect(() => {
     const fetchData = async () => {
       try {
-        const response = await axios.get("http://165.229.169.127:8080/member", {
+        const response = await axios.get("http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/member', {
+        const response = await axios.get('http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/register",
+        "http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/bookTravel?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/bookWorld?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/grammarFairy?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/grammarLand?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/sentenceAbsorb?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/sentenceDiary?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/songCountry?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/songWorld?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/wordAbsorb?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/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://165.229.169.127:8080/studyType/wordBundle?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
+        `http://takensoftai.iptime.org:32344/studyType/wordBundle?lesson=${location.state.lessonStep}&studyType=${location.state.planetStep}&chapter=${location.state.mainStep}`,
         { withCredentials: true }
       );
       setContents(response.data);
Add a comment
List