langflow/src
anovazzi1 3653f5eefc feat(chatModal): add getWebSocketUrl function to generate WebSocket URL based on chatId and environment
This commit adds a new function called getWebSocketUrl to the ChatModal component. This function generates a WebSocket URL based on the chatId and environment. It determines whether to use the "ws" or "wss" protocol based on whether the current protocol is secure or not. It also determines the host based on whether the environment is development or production. This function will be used to establish a WebSocket connection to the server.
2023-06-15 15:53:56 -03:00
..
backend 🐛 fix(chat.py): change the prefix of the error message to 'data' to fix the server response 2023-06-15 15:08:38 -03:00
frontend feat(chatModal): add getWebSocketUrl function to generate WebSocket URL based on chatId and environment 2023-06-15 15:53:56 -03:00