Update index.html
This commit is contained in:
parent
8a154038cb
commit
fb7f853125
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue