Ensure UTF-8 decoding (didn't seem to be an issue)

pull/1608/head
Jared Scheib 2017-06-16 14:48:47 -07:00
parent 06dd8a7a3d
commit da02547521
1 changed files with 1 additions and 1 deletions

View File

@ -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'},
})