Skip to content

Commit e84d860

Browse files
committed
Merge branch 'odi-v2-fix' of https://github.com/elizaos/eliza into v2-develop
2 parents db2a907 + 0dc2021 commit e84d860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/client/src/lib/api.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Agent, Character, UUID } from "@elizaos/core";
22
import { WorldManager } from "./world-manager";
33

4-
const BASE_URL = `http://localhost:${import.meta.env.VITE_SERVER_PORT}`;
4+
//const BASE_URL = `http://localhost:${import.meta.env.VITE_SERVER_PORT}`;
55

66
/**
77
* A function that handles fetching data from a specified URL with various options.
@@ -49,7 +49,7 @@ const fetcher = async ({
4949
}
5050
}
5151

52-
return fetch(`${BASE_URL}${url}`, options).then(async (resp) => {
52+
return fetch(`${url}`, options).then(async (resp) => {
5353
const contentType = resp.headers.get("Content-Type");
5454
if (contentType === "audio/mpeg") {
5555
return await resp.blob();

0 commit comments

Comments
 (0)