diff --git a/index.html b/index.html index 16c4e47..321b9fd 100644 --- a/index.html +++ b/index.html @@ -348,7 +348,15 @@

bam2.iobio

broker.bedUrl = bedUrl; } + const backendUrl = determineBackendUrl(); + const readDepthComponent = document.querySelector('iobio-coverage-depth'); + readDepthComponent.backendUrl = backendUrl; + function determineBackendUrl() { + // Determine backend URL dynamically + return 'https://backend.iobio.io'; // Default URL + } + function mosaicRequesterForProject(server, projectId, token) { async function request(path) {