fix(ws): fix websocket endpoint

master
Romain J 6 months ago
parent 886f187411
commit c9d60d3327
No known key found for this signature in database
GPG Key ID: 3227578329C2A3A7
  1. 4
      chat/static/js/ws.js

@ -28,8 +28,8 @@ document.addEventListener("DOMContentLoaded", () => {
(function get_websocket() {
let chatSocket = new WebSocket(
'ws://'
+ '127.0.0.1:8000'
'wss://'
+ 'c3e.gnous.eu'
+ '/ws'
+ `/${room_name.guild.id}`
+ `/${room_name.id}`

Loading…
Cancel
Save