Use a relative URL for status.json.
So that app.js can be less specific about where it's running.
Change-Id: I2a84a659b43027b7eb59ba707396517d8ba635d3
Reviewed-on: https://review.openstack.org/29286
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
diff --git a/etc/status/public_html/app.js b/etc/status/public_html/app.js
index f7de2cc..8ac6108 100644
--- a/etc/status/public_html/app.js
+++ b/etc/status/public_html/app.js
@@ -22,7 +22,7 @@
demo = location.search.match(/[?&]demo=([^?&]*)/),
source = demo ?
'./status-' + (demo[1] || 'basic') + '.json-sample' :
- '/zuul/status.json';
+ 'status.json';
zuul = {
enabled: true,