add Tidewave

This commit is contained in:
2025-12-30 12:27:41 +00:00
parent 9b73fcdf7a
commit bb4633895c
3 changed files with 8 additions and 1 deletions

View File

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