mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-11 08:28:14 +01:00
fix(#334): fixed yaml response parsing issue
This commit is contained in:
parent
9ecfb3a640
commit
90fedc8ec6
@ -58,7 +58,7 @@ export const getCodeMirrorModeBasedOnContentType = (contentType) => {
|
||||
return 'application/text';
|
||||
} else if (contentType.includes('application/edn')) {
|
||||
return 'application/xml';
|
||||
} else if (mimeType.includes('yaml')) {
|
||||
} else if (contentType.includes('yaml')) {
|
||||
return 'application/yaml';
|
||||
} else {
|
||||
return 'application/text';
|
||||
|
Loading…
Reference in New Issue
Block a user