mirror of https://github.com/interlegis/sapl.git
Browse Source
Renames /private/media/ to /internal/media/ in nginx and serve_media(). Adds Content-Type and Content-Disposition to the X-Accel-Redirect response. Replaces manual file reads in proposicao_texto and doc_texto_integral with redirects to the media URL, removing the unused get_mime_type_from_file_extension helper. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>rate-limiter-2026
6 changed files with 20 additions and 47 deletions
Loading…
Reference in new issue