Would allow bruno to show images

This commit is contained in:
Nikhil569
2023-10-11 02:56:01 +05:30
parent ff3321d643
commit 4b297f32e0
2 changed files with 8 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ export const getCodeMirrorModeBasedOnContentType = (contentType) => {
return 'application/xml';
} else if (contentType.includes('yaml')) {
return 'application/yaml';
} else if (contentType.includes('image')) {
return 'application/image';
} else {
return 'application/text';
}