Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/201647

Change subject: zuul: Use a relative URL for status.json
......................................................................

zuul: Use a relative URL for status.json

So that app.js can be less specific about where it's running.

(cherry-picked from https://github.com/openstack-infra/zuul/commit/7c7ed7abda)

Change-Id: I2a84a659b43027b7eb59ba707396517d8ba635d3
---
M org/wikimedia/integration/zuul/status.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/docroot 
refs/changes/47/201647/1

diff --git a/org/wikimedia/integration/zuul/status.js 
b/org/wikimedia/integration/zuul/status.js
index 9c7836c..3126d79 100644
--- a/org/wikimedia/integration/zuul/status.js
+++ b/org/wikimedia/integration/zuul/status.js
@@ -23,7 +23,7 @@
                demo = location.search.match(/[?&]demo=([^?&]*)/),
                source = demo ?
                        './sample-status-' + (demo[1] || 'basic') + '.json' :
-                       '/zuul/status.json',
+                       'status.json',
                nonce = $.now();
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/201647
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a84a659b43027b7eb59ba707396517d8ba635d3
Gerrit-PatchSet: 1
Gerrit-Project: integration/docroot
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to