mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Remove deprecated transports
This commit is contained in:
parent
e85b7eb4ac
commit
f9fec7f78f
@ -6,10 +6,6 @@ defmodule ChessWeb.UserSocket do
|
||||
## Channels
|
||||
channel "game:*", ChessWeb.GameChannel
|
||||
|
||||
## Transports
|
||||
transport :websocket, Phoenix.Transports.WebSocket
|
||||
# transport :longpoll, Phoenix.Transports.LongPoll
|
||||
|
||||
# Socket params are passed from the client and can
|
||||
# be used to verify and authenticate a user. After
|
||||
# verification, you can put default assigns into
|
||||
|
||||
@ -5,7 +5,8 @@ defmodule ChessWeb.Endpoint do
|
||||
plug Phoenix.Ecto.SQL.Sandbox
|
||||
end
|
||||
|
||||
socket "/socket", ChessWeb.UserSocket
|
||||
socket "/socket", ChessWeb.UserSocket,
|
||||
websocket: true
|
||||
|
||||
# Serve at "/" the static files from "priv/static" directory.
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user