Skip to content

Commit 2ca940d

Browse files
authored
Update bas-external-system.mdx with .env configuration
I did run the 2nd time into this small tiny and time-consuming issue. So, for the next time, everyone should be aware of it :)
1 parent d8f5034 commit 2ca940d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs-js/guides/bas-external-system.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ destinations="[{
181181
}]"
182182
```
183183

184+
Please keep in mind: A `.env` file has to represent environment-variables (like `destinations` in the example above) within 1 line. So, to get represented within your `process.env.destinations` variable, save the `.env` file as one-liner:
185+
```
186+
destinations="[{"name": "<destinationName>","url": "http://<destinationName>.dest","proxyConfiguration":{"host": "127.0.0.1","port": 8887,"protocol":"http"}}]"
187+
```
188+
184189
Fill in the `name` and `url` of the destination you [configured on SAP BTP](#prerequisite-2-cloud-connector-and-destination-setup).
185190
You can use the same pattern `<name>.dest` that you have used for [testing the connection](#checking-the-connection).
186191
The proxy host and port are from the `http_proxy` environment variables BAS creates for you.

0 commit comments

Comments
 (0)