Ensure UTF-8 decoding (didn't seem to be an issue)
parent
06dd8a7a3d
commit
da02547521
|
@ -6,5 +6,5 @@ export const fetchJSONFeed = url =>
|
|||
url,
|
||||
// For explanation of why this header makes this work:
|
||||
// https://stackoverflow.com/questions/22968406/how-to-skip-the-options-preflight-request-in-angularjs
|
||||
headers: {'Content-Type': 'text/plain'},
|
||||
headers: {'Content-Type': 'text/plain; charset=UTF-8'},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue