couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [46/50] git commit: Stop using non standard window.location.origin
Date Fri, 15 Mar 2013 21:50:08 GMT
Stop using non standard window.location.origin


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d6ae1bcf
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d6ae1bcf
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d6ae1bcf

Branch: refs/heads/fauxton-rebase
Commit: d6ae1bcf3d3185cbbec41c9a60627d6d0062f793
Parents: a719669
Author: Russell Branca <chewbranca@gmail.com>
Authored: Thu Mar 14 14:44:52 2013 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Fri Mar 15 14:37:34 2013 -0700

----------------------------------------------------------------------
 src/fauxton/app/initialize.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/d6ae1bcf/src/fauxton/app/initialize.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/initialize.js b/src/fauxton/app/initialize.js
index eb4a292..6e4a652 100644
--- a/src/fauxton/app/initialize.js
+++ b/src/fauxton/app/initialize.js
@@ -28,7 +28,7 @@ function(app, _, Bootstrap) {
     // TODO: pick this up wither at build time or from the browser
     root: "/_utils/fauxton/",
     // Is this sufficient?
-    host: window.location.origin,
+    host: window.location.protocol + "//" + window.location.host,
 
     renderView: function(baseView, selector, view, options, callback) {
       baseView.setView(selector, new view(options)).render().then(callback);


Mime
View raw message