fix(coverage): serve generated coverage PNGs via Plug.Static
`coverage` was missing from static_paths/0, so /coverage/<org>/<id>/rssi*.png fell through to the router (or downstream CDN) instead of being served as a static asset. In prod that meant the ingress's hotlink-protection page was rendered as the Leaflet image overlay — the "Access blocked / Referer is required by..." graphic the user saw on the map.
This commit is contained in:
parent
16e4997368
commit
f266b4ed34
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ defmodule ToweropsWeb do
|
|||
those modules here.
|
||||
"""
|
||||
|
||||
def static_paths, do: ~w(assets fonts images vendor favicon.ico robots.txt changelog.txt)
|
||||
def static_paths, do: ~w(assets fonts images vendor coverage favicon.ico robots.txt changelog.txt)
|
||||
|
||||
def router do
|
||||
quote do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue