Skip to content

Commit 73fb34f

Browse files
Basic auth support and upstream fixes
* initial commit * Fixed exports for use with external project * Incorporating basic auth support from generic-filehandle fork * Basic authentication support * Tabix datafetcher output debugging * Patched basic auth credentials in loadBBI * Patched basic auth credentials in loadBBI * CORS test * CORS test * CORS test * 28 Jan 2025 patches (Updated README to document Basic auth; removed commented code) * 28 Jan 2025 patches (Updated README to document Basic auth)
1 parent 29fff74 commit 73fb34f

File tree

9 files changed

+14607
-1076
lines changed

9 files changed

+14607
-1076
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jsons/
2424
report.html
2525
docs/_build
2626
webpack-stats.json
27-
dist
2827
lib/vendor
2928
app/test*.html
3029
es

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,27 @@ Note that the `chromSizesUrl` option is required.
4747

4848
For an example, see [`src/index.html`](src/index.html).
4949

50+
### Basic authentication
51+
52+
Bigwig files may be hosted on a website that uses Basic authentication to limit access. To load data from a bigWig file hosted on a site that uses Basic authentication, add the username and password to the URL. For example: `http://username:password@example.com/data.bw`. This would be used in the view configuration `url` property, *e.g.*,:
53+
54+
```
55+
[...
56+
{
57+
"type": "bar",
58+
"height": 80,
59+
"data": {
60+
"type": "bbi",
61+
"url": "http://username:password@example.com/data.bw",
62+
"chromSizesUrl": "https://aveit.s3.amazonaws.com/higlass/data/sequence/hg38.chrom.sizes",
63+
},
64+
"options": {
65+
...
66+
}
67+
68+
}
69+
]
70+
```
5071

5172
## Development
5273

0 commit comments

Comments
 (0)