Skip to content

Commit de776d5

Browse files
committed
export api address
1 parent 47ef496 commit de776d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent-reactflow/apps/backend/src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import Restack from "@restackio/ai";
22

3-
import "dotenv/config";
3+
export const apiAddress = process.env.RESTACK_ENGINE_API_ADDRESS!
44

55
export const connectionOptions = {
66
engineId: process.env.RESTACK_ENGINE_ID!,
77
address: process.env.RESTACK_ENGINE_ADDRESS!,
88
apiKey: process.env.RESTACK_ENGINE_API_KEY!,
9-
apiAddress: process.env.RESTACK_ENGINE_API_ADDRESS!,
9+
apiAddress,
1010
};
1111

1212
export const client = new Restack(

0 commit comments

Comments
 (0)