xuyonghao vor 1 Jahr
Ursprung
Commit
d6ccdaf74b
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. 1 3
      src/views/agent/resource/index.vue

+ 1 - 3
src/views/agent/resource/index.vue

@@ -15,9 +15,7 @@ import { onBeforeMount, ref } from "vue";
 const url = ref("");
 
 onBeforeMount(() => {
-  url.value = `${
-    defaultSettings.RAGFlowUrl ? defaultSettings.RAGFlowUrl : window.location.origin
-  }/flow?${localStorage.Authorization}`;
+  url.value = `http://${window.location.hostname}:1080/flow?${localStorage.Authorization}`;
 });
 </script>