datien228 commited on
Commit
df6df76
1 Parent(s): 1440904
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -194,7 +194,7 @@
194
  type: 'POST',
195
  url: '/summarize',
196
  data: JSON.stringify(data),
197
- // contentType: "jsonp",
198
  dataType: 'jsonp',
199
  xhrFields: {
200
  withCredentials: true
 
194
  type: 'POST',
195
  url: '/summarize',
196
  data: JSON.stringify(data),
197
+ contentType: "application/json",
198
  dataType: 'jsonp',
199
  xhrFields: {
200
  withCredentials: true