Skip to content

Commit 1cdb9d8

Browse files
Merge pull request #1157 from Chia-Network/ver1212
version bump & docs
2 parents 1549183 + aad27ba commit 1cdb9d8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ The CADT UI can be hosted as a web application, either for internal use, or made
5050

5151
To host the UI on the web, use the [web-build.tar.gz file from the releases page](https://github.com/Chia-Network/cadt-ui/releases). One of the simplest solutions is to uncompress these files into a [public S3 bucket](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteAccessPermissionsReqd.html). These files could also be served by any webserver, such as Nginx or Apache.
5252

53+
To make the CADT UI web application automatically connect to a CADT host by default, build the application from source (`npm install && npm run build`) with the following environment variables set:
54+
55+
* `REACT_APP_API_HOST`: Set to the URL of the CADT API, including the `/v1` path. For example: `https://www.example.com:31310/v1`
56+
* `REACT_APP_APP_URL`: Set to the URL of the UI application.
57+
5358
### From Source
5459

5560
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cadt-ui",
3-
"version": "1.2.12",
3+
"version": "1.2.13",
44
"private": true,
55
"author": "Chia Network Inc. <[email protected]>",
66
"homepage": "./",

0 commit comments

Comments
 (0)