You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/FAQ.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,10 +40,10 @@ git merge upstream/stable
40
40
41
41
## How do I use a custom GraphQL back end?
42
42
43
-
To set your custom GraphQL back end endpoint, set `API_URL` environment variable or change URL in `packages/server/build.config.js` for the `__API_URL__` property:
43
+
To set your custom GraphQL back end endpoint, set `BACKEND_API_URL` environment variable or change URL in `packages/server/build.config.js` for the `__API_URL__` property:
44
44
45
45
```javascript
46
-
__API_URL__:process.env.API_URL||'/graphql', // set the full URL to the external GraphQL API e.g. https://
46
+
__API_URL__:process.env.BACKEND_API_URL||'https://my-custom-domain/graphql', // set the full URL to the external GraphQL API e.g. https://
47
47
```
48
48
49
49
We recommend that you still run the back-end code provided by the starter kit to use the server-side rendering (SSR).
0 commit comments