Skip to content

Commit 8f90404

Browse files
authored
add text plain to content type to allow cors post requests (#442)
1 parent f706db4 commit 8f90404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/services/http-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class HttpService {
6969
body: JSON.stringify(body),
7070
headers: {
7171
...options.headers,
72-
'Content-Type': 'application/json',
72+
'Content-Type': 'text/plain; application/json',
7373
},
7474
});
7575
}

0 commit comments

Comments
 (0)