Skip to content

Commit

Permalink
Add sane defaults to MIME types
Browse files Browse the repository at this point in the history
  • Loading branch information
reixd committed Nov 7, 2019
1 parent 7ec2cf2 commit 9e5e82a
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions ansible/roles/debops.dokuwiki/defaults/main.yml
Expand Up @@ -390,25 +390,17 @@ dokuwiki__protected_conf_php: |
# Mimetypes that should be downloadable and not be opened in the wiki should
# be prefixed with a ``!``.
#
# Example:
#
# .. code-block:: yaml
#
# # Extra allowed MIME Types
# txt text/plain
# tex text/plain
# conf text/plain
# xml text/xml
# csv text/csv
# svg image/svg+xml
# epub application/epub+zip
#
# For more information, check `Adding additional Mime Types
# <https://www.dokuwiki.org/mime#adding_additional_mime_types>`_.
dokuwiki__local_mime_types_conf: |
# Extra allowed MIME Types
svg image/svg+xml
txt text/plain
# Extra allowed MIME Types
txt text/plain
tex text/plain
conf text/plain
xml text/xml
csv text/csv
svg image/svg+xml
epub application/epub+zip
# ]]]
# ]]]
Expand Down

0 comments on commit 9e5e82a

Please sign in to comment.