taxonium
taxonium copied to clipboard
feat: providing config json from local machine
Hi. More a question than an issue. The only way I managed to provide Taxonium with a json configuration file was using the configUrl URL parameter. Is there no way to upload it from a local computer?
Hi, that is at present correct. I agree that this would be a useful feature.
As you probably saw, you can supply the contents of the file in the URL:
https://taxonium.org/?backend=https://api.cov2tree.org&config={"colorMapping":{"AY.4":[255,0,0],"B.1.1.7":[0,0,255]}}
(https://docs.taxonium.org/en/latest/advanced.html)