This commit is contained in:
lda committed 2025-12-29 15:03:03 +07:00
1 parent 58d3e58759
commit c09e018bc5
4 files changed
+50 -44

No files matched your search

+3 -3
View File
@@ -149,10 +149,10 @@ body_class %}layout-wide{% endblock %}{% block content %}
if (mode === "jumblang") {
try {
const response = await fetch("/api/extract/jumblang", {
const response = await fetch("/api/extract/plaintext", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: content }),
headers: { "Content-Type": "text/plain" },
body: content,
});
if (!response.ok) throw new Error("Extraction failed");
links = await response.json();