Unverified Commit d306b264 authored by LiangGuoqian's avatar LiangGuoqian Committed by GitHub

Update common.ts

parent 223ba269
......@@ -18,4 +18,4 @@ export const setSession = (sessionId: string) => {
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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment