Comments, appointments adjustments, fixed some issues

This commit is contained in:
augmentedpotato
2026-04-20 19:19:30 -06:00
parent 1523aef51e
commit 6d593726a5
34 changed files with 402 additions and 104 deletions

View File

@@ -1,7 +1,9 @@
import { Client } from "@stomp/stompjs";
//Backend URL for the WebSocket connection, empty string means same origin
const BACKEND_URL = process.env.NEXT_PUBLIC_BACKEND_URL || "";
//Creates a STOMP client that connects to the chat WebSocket with the user's token
export function createStompClient(token) {
return new Client({
webSocketFactory: () => {