Parcourir la source

fix: http mixed content load

Carson il y a 8 mois
Parent
commit
abf5bfa380

+ 1 - 1
src/components/pages/classroomObservation/components/chatArea.vue

@@ -2309,7 +2309,7 @@ ${JSON.stringify(_list)}
         this.actionTypesMap.jsonData[key] = Array.from({ length: tableRows.length });
         // action type fetch by every { chunkSize } rows
         for (const [index, rows] of _.chunk(tableRows, chunkSize).entries()) {
-          const res = await fetch("http://dify.cocorobo.cn/v1/workflows/run", {
+          const res = await fetch("https://dify.cocorobo.cn/v1/workflows/run", {
             method: "POST",
             body: JSON.stringify({
               inputs: {