couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [25/27] git commit: Stop using non standard window.location.origin
Date Fri, 15 Mar 2013 16:53:43 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/b99637a3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/b99637a3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/b99637a3

Branch: refs/heads/fauxton
Commit: b99637a3278d1d911352c0856ea6b019761a598e
Parents: 53a2465
Author: Russell Branca <chewbranca@gmail.com>
Authored: Thu Mar 14 14:44:52 2013 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Thu Mar 14 14:44:52 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/b99637a3/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