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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user