[ 
https://issues.apache.org/jira/browse/COUCHDB-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14182837#comment-14182837
 ] 

Garren Smith commented on COUCHDB-2403:
---------------------------------------

Hi @michaelcole, The correct way to do this is by setting the settings.json 
file. That is what it is there for. You can edit the app.root and app.host 
parameters to fit your needs. It only works once you rebuild fauxton though.

It that doesn't quite fit your needs we might have to look at making the url a 
little more generic but thats a little tricky for how Fauxton works.

> Build Fauxton for a different url paths?
> ----------------------------------------
>
>                 Key: COUCHDB-2403
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2403
>             Project: CouchDB
>          Issue Type: Question
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Michael Cole
>
> Hey, I'm trying to use Fauxton in another project:  express-pouchdb
> We'd like Fauxton to not know it's URL, until it's being served.  So someone 
> could configure a PouchDB server in Express at their [own 
> URL](https://github.com/MichaelJCole/express-pouchdb#example-usage) like this:
> /mydb/  <-- PouchDB server
> /mydb/_utils  <-- Fauxton
> The best I could figure out to do was hard-
> code the URL in settings.json and use `grunt release` to build Fauxton for 
> that specific URL.
> Is there a better way?
> Thanks!
> Mike



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to