- Minor bugfixes

This commit is contained in:
Josako
2024-11-29 11:24:32 +01:00
parent b8e07bec77
commit b658e68e65
9 changed files with 64 additions and 20 deletions

View File

@@ -40,7 +40,6 @@ class EveAIChatWidget extends HTMLElement {
console.log('Chat Widget Connected');
this.innerHTML = this.getTemplate();
this.setupElements()
this.populateLanguageDropdown()
this.addEventListeners()
if (this.areAllAttributesSet()) {
@@ -194,7 +193,7 @@ class EveAIChatWidget extends HTMLElement {
}
this.socket = io(this.serverUrl, {
path: '/socket.io/',
path: '/chat/socket.io/',
transports: ['websocket'],
query: { // Change from auth to query
token: this.sessionToken