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:
Graham McIntire 2026-05-07 07:32:14 -05:00
parent 16e4997368
commit f266b4ed34

View file

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