fix(ift): ObserverWeb mount at "" so CSS/JS paths are not //css-*
CI / test (push) Successful in 7m23s
CI / deploy-ift (push) Successful in 5m31s
CI / e2e-ift (push) Successful in 1m31s
CI / deploy-stage (push) Successful in 3m16s
CI / e2e-stage (push) Successful in 1m22s

observer_dashboard("/") makes asset href protocol-relative (//css-HASH). Empty path keeps assets at /css-HASH.
This commit is contained in:
2026-08-13 11:27:41 +03:00
parent 37011f66a1
commit e3403f6ed6
+3 -2
View File
@@ -12,8 +12,9 @@ defmodule WebDev.Router do
scope "/" do scope "/" do
pipe_through(:browser) pipe_through(:browser)
# Dedicated host observer.*.calentiq.com — mount at root (no /observer prefix) # Dedicated host: mount at "" not "/" — library builds "#{prefix}/css-HASH",
observer_dashboard("/") # and prefix="/" yields broken protocol-relative "//css-…".
observer_dashboard("")
end end
end end