module

Web::Routes::App

Constants

IMG_PROXY_MAX_BYTES = (5_i64 * 1024) * 1024

5 MB ceiling on /img-proxy responses. Defends against HTML error pages mis-served as images and accidental huge artwork. All sampled podcast artwork in the corpus is < 2 MB; raise if a legitimate feed exceeds.

Class methods

register
Source