Update index.html
This commit is contained in:
@@ -582,7 +582,7 @@
|
|||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
queryResponse.innerHTML = marked(data.response);
|
queryResponse.innerHTML = marked.parse(data.response);
|
||||||
} else {
|
} else {
|
||||||
throw new Error('Failed to process query');
|
throw new Error('Failed to process query');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user