datien228 commited on
Commit
aad8e31
·
1 Parent(s): 6e77334

add no-cors

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -0
templates/index.html CHANGED
@@ -191,6 +191,7 @@
191
  const fetchSettings = {
192
  method: 'POST',
193
  body: JSON.stringify({"input_text": jsonfile}),
 
194
  headers: new Headers({
195
  "content-type": "application/json"
196
  })
 
191
  const fetchSettings = {
192
  method: 'POST',
193
  body: JSON.stringify({"input_text": jsonfile}),
194
+ mode: 'no-cors',
195
  headers: new Headers({
196
  "content-type": "application/json"
197
  })