We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e04c74 + 7267503 commit 4982fc0Copy full SHA for 4982fc0
client/src/lib/api.ts
@@ -1,6 +1,6 @@
1
import { type UUID, type Character } from "@elizaos/core";
2
3
-const BASE_URL = `http://localhost:${import.meta.env.VITE_SERVER_PORT}`;
+const BASE_URL = `http://localhost:${import.meta.env.VITE_SERVER_PORT ?? 3000}`;
4
5
const fetcher = async ({
6
url,
0 commit comments