comparison doc/default.css @ 8039:e1cff9745fb4

refactor: make mime_type_allowlist class prop to configure from interfaces.py The list of mime types that are served to the browser was located in a list inside a function. The allow_html_file setting provided a limited mechanism to add/remove the text/html mime type from the list. Move the list from the function to the Client class level so that the admin can add/remove from the list as required using interfaces.py. Also remove application/pdf by default and provide docs in admin_guide.txt on how to reenable viewing pdf's in the browser.
author John Rouillard <rouilj@ieee.org>
date Mon, 17 Jun 2024 23:35:03 -0400
parents 33a1f03b9de0
children
comparison
equal deleted inserted replaced
8038:5a122373641a 8039:e1cff9745fb4

Roundup Issue Tracker: http://roundup-tracker.org/