From e8b423fb9827412c5d76d024baf22603a4247391 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 3 Sep 2021 17:04:41 -0500 Subject: [PATCH] Docs: build config BACKEND_URL --- docs/development/build-config.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/development/build-config.md b/docs/development/build-config.md index a1e331e38..fb2bd3924 100644 --- a/docs/development/build-config.md +++ b/docs/development/build-config.md @@ -22,6 +22,17 @@ Default: `"development"` It's recommended to always build in `"production"` mode for live sites. +### `BACKEND_URL` + +The base URL for API calls. +You only need to set this if Soapbox FE is hosted in a different place than the backend. + +Options: +- A relative URL, eg `"/"` +- An absolute URL, eg `"https://gleasonator.com"` + +Default: `"/"` + ### `FE_BUILD_DIR` The folder to put build files in. This is mostly useful for CI tasks like GitLab Pages.