Load Tidewave only in dev

This commit is contained in:
Claudio Ortolina
2026-03-13 15:13:37 +00:00
parent 854a6e1816
commit 002c81d3b8
+1 -1
View File
@@ -30,7 +30,7 @@ defmodule MusicLibraryWeb.Endpoint do
gzip: not code_reloading?, gzip: not code_reloading?,
only: MusicLibraryWeb.static_paths() only: MusicLibraryWeb.static_paths()
if Code.ensure_loaded?(Tidewave) do if Mix.env() == :dev do
plug Tidewave plug Tidewave
end end