fix: enable Tidewave remote access properly

Pass allow_remote_access option directly to the Tidewave plug
instead of using application config (which was not being read).
Remove the ineffective config line from dev.exs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-01-31 13:47:58 +00:00
parent c2df13ff79
commit ee1da08941
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ defmodule SimpleshopThemeWeb.Endpoint do
cache_control_for_etags: "public, max-age=31536000, immutable"
if Code.ensure_loaded?(Tidewave) do
plug Tidewave
plug Tidewave, allow_remote_access: true
end
# Code reloading can be explicitly enabled under the