Spaces:
Runtime error
Runtime error
fix CORS
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -192,7 +192,7 @@
|
|
192 |
e.preventDefault();
|
193 |
$.ajax({
|
194 |
type: 'POST',
|
195 |
-
url: '/',
|
196 |
data: JSON.stringify(data),
|
197 |
headers: {'Access-Control-Allow-Origin': '*'},
|
198 |
contentType: "application/json",
|
|
|
192 |
e.preventDefault();
|
193 |
$.ajax({
|
194 |
type: 'POST',
|
195 |
+
url: '/summarize',
|
196 |
data: JSON.stringify(data),
|
197 |
headers: {'Access-Control-Allow-Origin': '*'},
|
198 |
contentType: "application/json",
|