KpjComp opened a new issue #944: Fauxton only works went mounted to url "/",. URL: https://github.com/apache/couchdb-fauxton/issues/944 <!--- Provide a general summary of the issue in the Title above --> I'm using Fauxton with Express, and when mounted say at url "/db".. everything fails.. ## Expected Behavior When mounted at say '/db', request should be '/db/_session',.. ## Current Behavior Instead of say requests like -> '/db/_session', the console is showing requests like -> '/_session' ## Possible Solution Make the fauxton route path configurable. code like -> ``` return window.location.origin + '/' + app.utils.safeURLName(database); ``` This is assuming we have everything running at '/'.. ## Steps to Reproduce (for bugs) Run Fauxton from a route like "/db" ## Context I'm trying to make an express app, that can host website, and fauxton etc. Assuming everything is @ "/" is not ideal. So a request say for session would be '/db/_session' ## Your Environment Node Windows ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
