summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Branca <chewbranca@gmail.com>2013-03-14 14:44:52 -0700
committerRussell Branca <chewbranca@gmail.com>2013-03-15 14:37:34 -0700
commitd6ae1bcf3d3185cbbec41c9a60627d6d0062f793 (patch)
treeb064d13bc8b39fa8ae30aec269c40b9b9c0109b9
parenta719669108fee604b55cfdf01e0d278a5ad63ca9 (diff)
downloadcouchdb-d6ae1bcf3d3185cbbec41c9a60627d6d0062f793.tar.gz
Stop using non standard window.location.origin
-rw-r--r--src/fauxton/app/initialize.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fauxton/app/initialize.js b/src/fauxton/app/initialize.js
index eb4a29234..6e4a652a0 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);