From 10ca344c844f84a73552805142700ec3e0ea9bb4 Mon Sep 17 00:00:00 2001 From: Josako Date: Tue, 9 Sep 2025 09:25:14 +0200 Subject: [PATCH] - Adapted chat client to use correct apiPrefix. --- eveai_chat_client/templates/chat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eveai_chat_client/templates/chat.html b/eveai_chat_client/templates/chat.html index 5c6bee0..58b256c 100644 --- a/eveai_chat_client/templates/chat.html +++ b/eveai_chat_client/templates/chat.html @@ -21,7 +21,7 @@ autoScroll: {{ settings.auto_scroll|default('true')|lower }}, allowReactions: {{ settings.allow_reactions|default('true')|lower }} }, - apiPrefix: '{{ request.headers.get("X-Forwarded-Prefix", "") }}/chat', + apiPrefix: '/chat-client/chat', language: '{{ session.magic_link.specialist_args.language|default("en") }}', supportedLanguageDetails: {{ config.SUPPORTED_LANGUAGE_DETAILS|tojson|safe }}, allowedLanguages: {{ tenant_make.allowed_languages|tojson|safe }},