Spaces:
Runtime error
Runtime error
fix CORS
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -195,7 +195,7 @@
|
|
195 |
url: '/summarize',
|
196 |
data: JSON.stringify(data),
|
197 |
contentType: "application/json",
|
198 |
-
dataType: '
|
199 |
xhrFields: {
|
200 |
withCredentials: true
|
201 |
},
|
|
|
195 |
url: '/summarize',
|
196 |
data: JSON.stringify(data),
|
197 |
contentType: "application/json",
|
198 |
+
dataType: 'json',
|
199 |
xhrFields: {
|
200 |
withCredentials: true
|
201 |
},
|