SOY NV AI
commited on
Commit
·
a7789c6
1
Parent(s):
e5a14e2
Fix: Change POST endpoint from /parent-chunk to /process/parent-chunk to fix Method Not Allowed error
Browse files
templates/admin_webnovels.html
CHANGED
|
@@ -1765,7 +1765,7 @@
|
|
| 1765 |
modal.classList.add('active');
|
| 1766 |
|
| 1767 |
try {
|
| 1768 |
-
const response = await fetch(`/api/files/${fileId}/parent-chunk`, {
|
| 1769 |
method: 'POST',
|
| 1770 |
headers: {
|
| 1771 |
'Content-Type': 'application/json'
|
|
|
|
| 1765 |
modal.classList.add('active');
|
| 1766 |
|
| 1767 |
try {
|
| 1768 |
+
const response = await fetch(`/api/files/${fileId}/process/parent-chunk`, {
|
| 1769 |
method: 'POST',
|
| 1770 |
headers: {
|
| 1771 |
'Content-Type': 'application/json'
|