@@ -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>