mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-30 08:04:09 +00:00
Would allow bruno to show images
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user