Add channel to be joined

This commit is contained in:
Maciej 2026-02-28 13:11:58 +02:00
parent 1a8d9cd840
commit 3afaf346c7
Signed by: maciej
GPG key ID: 28243AF437E32F99
6 changed files with 221 additions and 0 deletions

View file

@ -15,6 +15,10 @@ defmodule BirdyChatWeb.Endpoint do
websocket: [connect_info: [session: @session_options]],
longpoll: [connect_info: [session: @session_options]]
socket "/socket", BirdyChatWeb.ServerSocket,
websocket: true,
longpoll: false
# Serve at "/" the static files from "priv/static" directory.
#
# When code reloading is disabled (e.g., in production),