When I try to load a file with the extension
.webmanifest when using the built-in web server Commandbox uses (Undertow), I get a 404 error. I suspect this is because Undertow by default doesn’t recognize the
.webmanifest file extension or MIME type. I had a similar problem with IIS which was fixable by adding a custom MIME type to the configuration.
Is there an easy way to add custom MIME types to Undertow, perhaps via the server.json file? I scanned the Ortusbooks documentation and didn’t find anything.