update to phoenix 1.6

This commit is contained in:
2022-01-21 20:36:25 -05:00
parent f9e66d1336
commit 094e214a55
39 changed files with 621 additions and 340 deletions

View File

@ -7,13 +7,9 @@ defmodule CanneryWeb.Endpoint do
@session_options [
store: :cookie,
key: "_cannery_key",
signing_salt: "fxAnJltS"
signing_salt: "N8eMKwCG"
]
socket "/socket", CanneryWeb.UserSocket,
websocket: true,
longpoll: false
socket "/live", Phoenix.LiveView.Socket, websocket: [connect_info: [session: @session_options]]
# Serve at "/" the static files from "priv/static" directory.