Skip to content

Commit 14185a7

Browse files
committed
fix(core): URL corrigée pour l'historique des actions
L'URL inclut maintenant le répertoire (window.location.pathname) dans lequel a été déployée l'application
1 parent 991fa27 commit 14185a7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/js/core/interactions/events/click.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function handleClickOnChatContainer(chatbot) {
9292
const llmQuestion = getElementFromEnd(actionsHistoryArray, 2);
9393
actionsLatest = llmQuestion + "|" + actionsLatest;
9494
}
95-
const baseURL = window.location.origin;
95+
const baseURL = window.location.origin + window.location.pathname;
9696
let hash = window.location.hash;
9797
let baseQuery = getParamsFromURL();
9898
// On garde dans le hash seulement l'URL de la source et on supprime les paramètres (qu'on vient de récupérer dans baseQuery)

app/script.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/script.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)