Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47ef496

Browse files
committed
cleanup comments
1 parent ae4bfeb commit 47ef496

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

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

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

3-
// import dotenv from 'dotenv';
4-
// import path from 'path';
5-
6-
// dotenv.config({ path: path.resolve(__dirname, '../../../.env') });
7-
8-
export const apiAddress = process.env.RESTACK_ENGINE_API_ADDRESS!
3+
import "dotenv/config";
94

105
export const connectionOptions = {
116
engineId: process.env.RESTACK_ENGINE_ID!,
127
address: process.env.RESTACK_ENGINE_ADDRESS!,
138
apiKey: process.env.RESTACK_ENGINE_API_KEY!,
14-
apiAddress,
9+
apiAddress: process.env.RESTACK_ENGINE_API_ADDRESS!,
1510
};
1611

1712
export const client = new Restack(

0 commit comments

Comments
 (0)