fix(agents): add http protocol to agent client base url
This commit is contained in:
@@ -6,7 +6,7 @@ export const useAgentClient = () => {
|
||||
const { apiServer } = useSettings()
|
||||
const { host, port, apiKey } = apiServer
|
||||
const client = new AgentApiClient({
|
||||
baseURL: `${host}:${port}`,
|
||||
baseURL: `http://${host}:${port}`,
|
||||
headers: {
|
||||
Authorization: `Bearer ${apiKey}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user