1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Remove deprecated transports

This commit is contained in:
Daniel Barber 2018-11-09 11:36:52 -05:00
parent e85b7eb4ac
commit f9fec7f78f
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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.
#