Skip to content

Commit 9efda9e

Browse files
committed
Fixed the .env weirdness
1 parent f7092d3 commit 9efda9e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/apikeys.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ Each environment has its own secret key. You can find the value on the API keys
1515

1616
To automatically configure the SDK with your secret key, you can set the `TRIGGER_SECRET_KEY` environment variable. The SDK will automatically use this value when calling API methods (like `trigger`).
1717

18-
```bash
19-
export TRIGGER_SECRET_KEY=tr_dev_…
18+
```bash .env
19+
TRIGGER_SECRET_KEY="tr_dev_…"
2020
```
2121

2222
You can do the same if you are self-hosting and need to change the default URL by using `TRIGGER_API_URL`.
2323

24-
```bash
25-
export TRIGGER_API_URL=https://trigger.example.com
24+
```bash .env
25+
TRIGGER_API_URL="https://trigger.example.com"
2626
```
2727

2828
The default URL is `https://api.trigger.dev`.

0 commit comments

Comments
 (0)