diff --git a/etc/status/public_html/app.js b/etc/status/public_html/app.js index d752149c74..16195e8e31 100644 --- a/etc/status/public_html/app.js +++ b/etc/status/public_html/app.js @@ -21,9 +21,11 @@ $queueResultsNum, $pipelines, $jq; var xhr, zuul, demo = location.search.match(/[?&]demo=([^?&]*)/), + source_url = location.search.match(/[?&]source_url=([^?&]*)/), source = demo ? './status-' + (demo[1] || 'basic') + '.json-sample' : 'status.json'; + source = source_url ? source_url[1] : source; zuul = { enabled: true,