couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/5] fauxton commit: updated refs/heads/master to 61c2681
Date Tue, 14 Feb 2017 07:54:08 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 7e7e774e5 -> 61c268132


Override CouchDB port


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

Branch: refs/heads/master
Commit: 09678c208e5637d184d6ebac444cf535d53ad1de
Parents: 7e7e774
Author: Garren Smith <garren.smith@gmail.com>
Authored: Sun Feb 12 14:24:07 2017 -0500
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Sun Feb 12 14:24:07 2017 -0500

----------------------------------------------------------------------
 devserver.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/09678c20/devserver.js
----------------------------------------------------------------------
diff --git a/devserver.js b/devserver.js
index 9be142a..c8d0ffc 100644
--- a/devserver.js
+++ b/devserver.js
@@ -16,7 +16,7 @@ var loadSettings = function () {
     port: process.env.FAUXTON_PORT || 8000,
     contentSecurityPolicy: true,
     proxy: {
-      target: 'http://127.0.0.1:5984',
+      target: process.env.COUCH_HOST || 'http://127.0.0.1:5984',
       changeOrigin: false
     }
   };


Mime
View raw message