diff --git a/graph/index.html b/graph/index.html index 7893038..8823b7b 100644 --- a/graph/index.html +++ b/graph/index.html @@ -25,6 +25,7 @@ var pageInfra = ""; var pageStream = ""; var pageArch = ""; + var pageOci = false; var pageStreamDetails = zeroStream(); @@ -59,7 +60,7 @@ @@ -171,7 +180,13 @@ } pageInfra = infra; - const updatesUrl = `https://raw-updates.coreos.${infraPrefix}fedoraproject.org/v1/graph?basearch=${basearch}&stream=${stream}`; + var oci = urlParams.get('oci'); + if (oci === null) { + oci = false; + } + pageOci = oci; + + const updatesUrl = `https://raw-updates.coreos.${infraPrefix}fedoraproject.org/v1/graph?basearch=${basearch}&stream=${stream}&oci=${oci}`; return updatesUrl; }