Remove app.temphost
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/62f86842 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/62f86842 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/62f86842 Branch: refs/heads/replicator-redesign Commit: 62f86842bcdbdee2126716827e8155243e86cb1a Parents: 62e6dac Author: suelockwood <[email protected]> Authored: Thu Sep 26 14:57:55 2013 -0400 Committer: suelockwood <[email protected]> Committed: Mon Sep 30 16:25:47 2013 -0400 ---------------------------------------------------------------------- src/fauxton/app/addons/replication/views.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/62f86842/src/fauxton/app/addons/replication/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/replication/views.js b/src/fauxton/app/addons/replication/views.js index 3366937..6c504f1 100644 --- a/src/fauxton/app/addons/replication/views.js +++ b/src/fauxton/app/addons/replication/views.js @@ -24,7 +24,6 @@ function(app, FauxtonAPI, Components, replication) { intervalId: null }; - app.temphost ="http://deathbear.cloudant.com"; _.extend(Events, Backbone.Events); // NOTES: http://wiki.apache.org/couchdb/Replication @@ -189,7 +188,7 @@ function(app, FauxtonAPI, Components, replication) { setAuthHeaders: function(source,user,pass){ var basicHeader = new FauxtonAPI.session.createBasicAuthHeader(user,pass), json = {}; - json.url = app.temphost+"/"+source; + json.url = app.host+"/"+source; json.headers = { "Authorization": basicHeader.basicAuthHeader };
