Update to Phoenix 1.6.6

Update by applying https://gist.github.com/chrismccord/2ab350f154235ad4a4d0f4de6decba7b
JS hooks not working yet.
This commit is contained in:
Thelonius Kort
2022-01-30 23:09:00 +01:00
parent eeb200bd98
commit 353c401c95
13 changed files with 58 additions and 8071 deletions

View File

@ -24,13 +24,13 @@ defmodule ClipWeb.Endpoint do
at: "/",
from: :clip,
gzip: false,
only: ~w(css fonts images js favicon.ico robots.txt)
only: ~w(assets fonts images favicon.ico robots.txt)
# Code reloading can be explicitly enabled under the
# :code_reloader configuration of your endpoint.
if code_reloading? do
socket "/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket
plug Phoenix.LiveReloader
# plug Phoenix.LiveReloader
plug Phoenix.CodeReloader
plug Phoenix.Ecto.CheckRepoStatus, otp_app: :clip
end