We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db2a907 + 0dc2021 commit e84d860Copy full SHA for e84d860
packages/client/src/lib/api.ts
@@ -1,7 +1,7 @@
1
import type { Agent, Character, UUID } from "@elizaos/core";
2
import { WorldManager } from "./world-manager";
3
4
-const BASE_URL = `http://localhost:${import.meta.env.VITE_SERVER_PORT}`;
+//const BASE_URL = `http://localhost:${import.meta.env.VITE_SERVER_PORT}`;
5
6
/**
7
* A function that handles fetching data from a specified URL with various options.
@@ -49,7 +49,7 @@ const fetcher = async ({
49
}
50
51
52
- return fetch(`${BASE_URL}${url}`, options).then(async (resp) => {
+ return fetch(`${url}`, options).then(async (resp) => {
53
const contentType = resp.headers.get("Content-Type");
54
if (contentType === "audio/mpeg") {
55
return await resp.blob();
0 commit comments