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

Unified Diff: appengine/swarming/elements/res/imp/taskpage/task-page.html

Issue 2366663003: Use non-proxied links (Closed) Base URL: git@github.com:luci/luci-py@manual-add
Patch Set: Created 4 years, 3 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
Index: appengine/swarming/elements/res/imp/taskpage/task-page.html
diff --git a/appengine/swarming/elements/res/imp/taskpage/task-page.html b/appengine/swarming/elements/res/imp/taskpage/task-page.html
index d7f2ca2fad100ed11a394f6cfb116c3882e617a8..3868aff64b2671a20b76d6b497ed12a6f58e1362 100644
--- a/appengine/swarming/elements/res/imp/taskpage/task-page.html
+++ b/appengine/swarming/elements/res/imp/taskpage/task-page.html
@@ -527,7 +527,7 @@
},
_cancelTask: function() {
- var url = "/_ah/api/swarming/v1/task/" + this.task_id +"/cancel";
+ var url = "/api/swarming/v1/task/" + this.task_id +"/cancel";
swarming.postWithToast(url, "Canceling task " + this.task_id, this._auth_headers);
},
@@ -680,7 +680,7 @@
user: this._profile.email,
service_account: this._request.service_account,
}
- swarming.postWithToast("/_ah/api/swarming/v1/tasks/new", "Retrying task " + this.task_id,
+ swarming.postWithToast("/api/swarming/v1/tasks/new", "Retrying task " + this.task_id,
this._auth_headers, newTask)
.then(function(response) {
response = JSON.parse(response);

Powered by Google App Engine
This is Rietveld 408576698