From 89d0b4600cc80cb507b513c4b76af9c1eb60fb22 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Tue, 27 Jul 2010 11:02:36 +0000 Subject: fix CLI js test suite. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@979642 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/couch_tests.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share/www/script/couch_tests.js') diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index c5257ea6..5723eece 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -13,10 +13,12 @@ // Used by replication test if (typeof window == 'undefined' || !window) { CouchDB.host = "127.0.0.1:5984"; + CouchDB.protocol = "http://"; CouchDB.inBrowser = false; } else { CouchDB.host = window.location.host; CouchDB.inBrowser = true; + CouchDB.protocol = window.location.protocol + "//"; } CouchDB.urlPrefix = ".."; -- cgit v1.2.3