@rsktash/beads-ui 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/assets/{index-CeliZ293.js → index-DuLF7942.js} +29 -29
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/server/app.js +8 -0
- package/server/cli/usage.js +3 -3
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ bd-ui start
|
|
|
41
41
|
| `PORT` | Server port | `3333` |
|
|
42
42
|
| `HOST` | Bind address | `127.0.0.1` |
|
|
43
43
|
| `BEADS_DOLT_PASSWORD` | Password for remote Dolt server connection | |
|
|
44
|
-
| `
|
|
44
|
+
| `FILE_ATTACHMENT_BASE_URL` | Base URL for resolving `attach://` URIs | |
|
|
45
45
|
|
|
46
46
|
## Dolt Database Modes
|
|
47
47
|
|
|
@@ -88,10 +88,10 @@ Markdown content supports a custom `attach://` URI scheme for portable file refe
|
|
|
88
88
|
[Log file](attach://bead-42/log.txt)
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
At render time, `attach://` URIs are resolved against `
|
|
91
|
+
At render time, `attach://` URIs are resolved against `FILE_ATTACHMENT_BASE_URL`:
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
|
|
94
|
+
FILE_ATTACHMENT_BASE_URL=https://files.example.com/attachments bd-ui start
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
The above markdown resolves to:
|