Add channel to be joined
This commit is contained in:
parent
1a8d9cd840
commit
3afaf346c7
6 changed files with 221 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue