Skip to content

Commit 5ef1ea5

Browse files
committed
Use image/svg+xml for overrideMimeType instead of text/xml
1 parent 84936ed commit 5ef1ea5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/make-ajax-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const makeAjaxRequest = (
6565
/* istanbul ignore else */
6666
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
6767
if (httpRequest.overrideMimeType) {
68-
httpRequest.overrideMimeType('text/xml')
68+
httpRequest.overrideMimeType('image/svg+xml')
6969
}
7070

7171
httpRequest.send()

0 commit comments

Comments
 (0)