feat: add alternative server for purposes of switching to API v1 (#571)

* feat: add alternative server for purposes of switching to API v1

* fix: naming of next version sync server host variable
This commit is contained in:
Karol Sójko
2021-06-07 15:19:26 +02:00
committed by GitHub
parent 56121933b4
commit 8dde06b93b
8 changed files with 21 additions and 8 deletions

View File

@@ -108,10 +108,13 @@ The web app makes use of two optional native extensions, which, when running the
BATCH_MANAGER_LOCATION=extensions/batch-manager/dist/index.min.html
```
You can also set the `SF_DEFAULT_SERVER` environment variable to set the default server for login and registration.
You can also set the `SF_DEFAULT_SERVER` and `SF_NEXT_VERSION_SERVER` environment variables to set the default servers for login and registration.
> **Note:** SF_NEXT_VERSION_SERVER can point to the same server. It is used for gradual upgrade of API versions.
```
SF_DEFAULT_SERVER=https://sync.myserver
SF_NEXT_VERSION_SERVER=https://sync.myserver
```
---