Spaces:
Running
Running
Update templates/maj.html
Browse files- templates/maj.html +1 -1
templates/maj.html
CHANGED
@@ -396,7 +396,7 @@
|
|
396 |
|
397 |
try {
|
398 |
// Hardcode the endpoint to /solved
|
399 |
-
const response = await fetch('/
|
400 |
|
401 |
if (!response.body) {
|
402 |
throw new Error('Response body is not available (e.g., not a streaming response)');
|
|
|
396 |
|
397 |
try {
|
398 |
// Hardcode the endpoint to /solved
|
399 |
+
const response = await fetch('/solve', { method: 'POST', body: formData });
|
400 |
|
401 |
if (!response.body) {
|
402 |
throw new Error('Response body is not available (e.g., not a streaming response)');
|