docs: introduce hint and link to environment override feature (#27315)

This commit is contained in:
Lasse Diercks 2024-05-23 00:21:12 +02:00 committed by GitHub
parent 5b1ca73886
commit 026cf15613
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -373,7 +373,7 @@ registerEndpoint('/test/', {
}) })
``` ```
> **Note**: If your requests in a component go to external API, you can use `baseURL` and then make it empty using Nuxt Environment Config (`$test`) so all your requests will go to Nitro server. > **Note**: If your requests in a component go to an external API, you can use `baseURL` and then make it empty using [Nuxt Environment Override Config](/docs/getting-started/configuration#environment-overrides) (`$test`) so all your requests will go to Nitro server.
#### Conflict with End-To-End Testing #### Conflict with End-To-End Testing