Added necessary changes to client-side code for HTTPS transport

This commit is contained in:
Zhongheng Liu 2024-02-18 16:36:52 +02:00
commit e205d6e149
No known key found for this signature in database
5 changed files with 17885 additions and 17862 deletions

View file

@ -1,6 +1,6 @@
export const domain = window.location.hostname;
export const port = "8080";
export const connectionAddress = `ws://${domain}:${port}/ws`;
export const connectionAddress = `wss://${domain}:${port}/ws`;
export const endpoints = {
destination: "/app/chat",
subscription: "/sub/chat",