Correggi la sintassi dell'URL nel metodo loadContext del componente ChatClient
This commit is contained in:
@@ -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 }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user