localhost fix
This commit is contained in:
parent
33354e655e
commit
dbc6bf5362
@ -32,7 +32,7 @@ export async function generateContentStream(
|
|||||||
params: GenerateStreamParams,
|
params: GenerateStreamParams,
|
||||||
callbacks: StreamCallbacks
|
callbacks: StreamCallbacks
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const response = await fetch('http://localhost:3301/api/ai/generate-stream', {
|
const response = await fetch('/api/ai/generate-stream', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user