Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

support multi-directory base URL #4

Open
mandric opened this issue Mar 4, 2014 · 1 comment
Open

support multi-directory base URL #4

mandric opened this issue Mar 4, 2014 · 1 comment

Comments

@mandric
Copy link
Member

mandric commented Mar 4, 2014

Should I be able to host a market under a subdirectory like /markets/alpha/? If I do this I noticed a bug in getBaseURL that expects only one level of directories. https://github.com/garden20/garden-market/blob/master/lib/utils.js#L150

Is this by design or something better supported by couchdb rewrites? Or should we fix? Should we define a setting that specifies the base URL or just patch utils.js to be smarter?

screen shot 2014-03-04 at 2 00 05 pm

@mandric
Copy link
Member Author

mandric commented Mar 6, 2014

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant