Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2147)

Unified Diff: appengine/chromium_cq_status/js/stats_viewer.js

Issue 2111713004: Teach CQ status app to check login status of users. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Review and tests. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/chromium_cq_status/js/recent.js ('k') | appengine/chromium_cq_status/main.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_cq_status/js/stats_viewer.js
diff --git a/appengine/chromium_cq_status/js/stats_viewer.js b/appengine/chromium_cq_status/js/stats_viewer.js
index a30ae82e1d173bcc6fee7145e015de96a693a4b4..005e0d9d5e985d904c8d844fc2ff6beb35f98d18 100644
--- a/appengine/chromium_cq_status/js/stats_viewer.js
+++ b/appengine/chromium_cq_status/js/stats_viewer.js
@@ -37,7 +37,8 @@ function displayStats(cqStatsList) {
}
function loadCQStatsList(callback) {
- var url = '//chromium-cq-status.appspot.com/stats/query?project=' + project + '&interval_minutes=' + intervalMinutes;
+ var url = '//' + window.location.host + '/stats/query?project=' + project +
+ '&interval_minutes=' + intervalMinutes;
var cqStatsList = [];
var defaultCount = null;
function queryCQStatsList(cursor) {
« no previous file with comments | « appengine/chromium_cq_status/js/recent.js ('k') | appengine/chromium_cq_status/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698