From d6ccdaf74b286f3add0e384203d02611a8d67f53 Mon Sep 17 00:00:00 2001
From: xuyonghao <898441624@qq.com>
Date: 星期五, 22 十一月 2024 17:47:12 +0800
Subject: [PATCH] iframe
---
src/views/agent/resource/index.vue | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/views/agent/resource/index.vue b/src/views/agent/resource/index.vue
index e29d89e..a1286ca 100644
--- a/src/views/agent/resource/index.vue
+++ b/src/views/agent/resource/index.vue
@@ -15,9 +15,7 @@
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>
--
Gitblit v1.8.0