fix: use relative path for api
This commit is contained in:
parent
b00cdb6b10
commit
f06d8c80ea
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ async function sendMessage() {
|
|||
|
||||
async function generateText(prompt) {
|
||||
try {
|
||||
const response = await fetch("/generate_text_stream", {
|
||||
const response = await fetch("./generate_text_stream", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
|
Loading…
Reference in a new issue