Skip to content

Commit 630344a

Browse files
Merge pull request #1315 from Chia-Network/develop
Release 2.0.2
2 parents 7d209af + fa2be77 commit 630344a

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

.github/workflows/build-installers.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
run: |
175175
node --version
176176
npm install
177-
npm run build
177+
npm run web-build
178178
179179
- name: Create .tar.gz of the web build
180180
run: tar -cvzf cadt-ui-web-build.tar.gz build

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,32 @@ To host the UI on the web, use the [web-build.tar.gz file from the releases page
5252

5353
To make the CADT UI web application automatically connect to a CADT host by default, copy the `config.example.json` file to `config.json` and change the `apiHost` to be the CADT API hostname, including http:// and the path (everything before the `/v1` part of the API URL)
5454

55+
#### Sample Nginx Config
56+
57+
```
58+
server {
59+
listen 443 ssl http2;
60+
listen [::]:443 ssl http2;
61+
62+
# Path on disk to CADT UI files
63+
root /var/www/cadt-ui/build;
64+
65+
# Domain name where this site will be served from
66+
server_name cadt-ui-example-config.com;
67+
68+
# SSL certificates with full path
69+
ssl_certificate /path/to/ssl/certificate/fullchain.pem;
70+
ssl_certificate_key /path/to/ssl/certificate/privkey.pem;
71+
72+
# Optional, but recommended
73+
resolver 1.1.1.1;
74+
75+
try_files $uri /index.html;
76+
}
77+
78+
```
79+
80+
5581
### From Source
5682

5783
*It is recommended to use the pre-built application from the releases page or the apt repo and only build from source if contributing code to the application*

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "cadt-ui",
33
"private": true,
4-
"version": "2.0.1",
4+
"version": "2.0.2",
55
"type": "module",
66
"main": "build/main.js",
77
"engineStrict": true,

0 commit comments

Comments
 (0)