I need to treat some dns files with .zone extension as text files and display them in browser.
“zone”: [“text/plain”] in config/mimetypemappings.json and it works only if the filename has only one dot.
For example, mydomain.zone works, but internal.mydomain.zone does not work and it’s downloaded instead of being displayed.
Thank you for any help!
EDIT: now it works. It needed to restart thee server because the commands
did not change the cached filetype of files