summaryrefslogtreecommitdiff
path: root/share/www/script/futon.js
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-01-30 01:22:36 +0000
committerJan Lehnardt <jan@apache.org>2010-01-30 01:22:36 +0000
commit8b3d706b70bd55f5a3a37ff48c9b809aacf2a8cb (patch)
tree3028fc74a061c701d129acc479c3e6ea1447ac0b /share/www/script/futon.js
parentee09a0de9f8356abe24a0ac0f26cdff35f8fa704 (diff)
Allow Futon to run behind a HTTP proxy.
Depending no the Proxy's RFC 2616 compliance, some tests might fail (looking at you, nginx). Patch by Jack Moffit and Damjan Georgievski. Closes COUCHDB-321. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@904705 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/futon.js')
-rw-r--r--share/www/script/futon.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/www/script/futon.js b/share/www/script/futon.js
index 005fe032..7401b4cc 100644
--- a/share/www/script/futon.js
+++ b/share/www/script/futon.js
@@ -361,6 +361,7 @@
}
+ $.couch.urlPrefix = "..";
$.futon = $.futon || {};
$.extend($.futon, {
navigation: new Navigation(),