Workaround for ".kdbx file in nextcloud don't open in keeweb · Issue #34"
``` (The fix) simply changes the mimetype of any .kdbx file in the filecache everytime you reload a page in nextcloud, so it might effect performance depending on your setup. If you add $mimetypeId = $mimeTypeLoader->getId('x-application/kdbx'); $mimeTypeLoader->updateFilecache('%.kdbx', $mimetypeId);
Below // Register custom mimetype we can hook in the frontend $mimeTypeDetector->getAllMappings(); $mimeTypeDetector->registerType('kdbx', 'x-application/kdbx', 'x-application/kdbx');
In your keeweb/appinfo/app.php file you should be good. (It's at the bottom) ```