Skip to content

Commit dbd0942

Browse files
committed
Updated Astro setup docs: env import
1 parent dc7f335 commit dbd0942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_snippets/manual-setup-astro.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ To set up the Trigger Client for your project, follow these steps:
6060

6161
export const client = new TriggerClient({
6262
id: "my-app",
63-
apiKey: process.env.TRIGGER_API_KEY,
64-
apiUrl: process.env.TRIGGER_API_URL,
63+
apiKey: import.meta.env.TRIGGER_API_KEY,
64+
apiUrl: import.meta.env.TRIGGER_API_URL,
6565
});
6666
```
6767

0 commit comments

Comments
 (0)