From 7b479fbc2928c577f1bb8799516a1f23d085efdd Mon Sep 17 00:00:00 2001 From: "andrea.terzani" Date: Mon, 24 Mar 2025 10:35:52 +0100 Subject: [PATCH] Correggi la sintassi dell'URL nel metodo loadContext del componente ChatClient --- src/components/ChatClient.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChatClient.vue b/src/components/ChatClient.vue index b2d0132..30353c4 100644 --- a/src/components/ChatClient.vue +++ b/src/components/ChatClient.vue @@ -249,7 +249,7 @@ export default { async loadContext() { try { - const response = await fetch(import.meta.env.VITE_BACKEND_URL+`/chatservice/load-context-to-conversation?conversationId=${this.conversationId}&scenarioExecutionId=${this.scenarioExecutionId}`, { + const response = await fetch(`${import.meta.env.VITE_BACKEND_URL}/chatservice/load-context-to-conversation?conversationId=${this.conversationId}&scenarioExecutionId=${this.scenarioExecutionId}`, { method: 'GET', headers: { 'Content-Type': 'application/json', authorization: this.authorization } });