mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 17:32:27 +08:00
Update common.ts
This commit is contained in:
@ -18,4 +18,4 @@ export const setSession = (sessionId: string) => {
|
|||||||
return { 'Set-Cookie': `session_id=${sessionId}` }
|
return { 'Set-Cookie': `session_id=${sessionId}` }
|
||||||
}
|
}
|
||||||
|
|
||||||
export const client = new ChatClient(API_KEY, API_URL)
|
export const client = new ChatClient(API_KEY, API_URL ? API_URL : undefined)
|
||||||
|
|||||||
Reference in New Issue
Block a user