add Tidewave
This commit is contained in:
@@ -26,6 +26,10 @@ defmodule SimpleshopThemeWeb.Endpoint do
|
||||
gzip: not code_reloading?,
|
||||
only: SimpleshopThemeWeb.static_paths()
|
||||
|
||||
if Code.ensure_loaded?(Tidewave) do
|
||||
plug Tidewave
|
||||
end
|
||||
|
||||
# Code reloading can be explicitly enabled under the
|
||||
# :code_reloader configuration of your endpoint.
|
||||
if code_reloading? do
|
||||
|
||||
Reference in New Issue
Block a user