Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Use /_api and /_admin as default #37

caolan opened this Issue Apr 12, 2013 · 3 comments


None yet
3 participants

caolan commented Apr 12, 2013

Opening this ticket to discuss the effects this is likely to have on the various components that rely on separate origins. You can test it out on my branch of hoodie-app for now.

We're switching to this so we can provide a smooth experience on Linux and a consistent approach across platforms. I recommend still having the nice local-tld stuff for Mac so we have an app.dev domain, but sticking to app.dev/_api and app.dev/_admin so documentation and examples are cross-platform.

This currently causes some issues in hoodloader and probably pocket too (CC @gr2m @espy)


gr2m commented Apr 12, 2013

I'd also like to loop @janl into the discussion.

So current problem is that we benefit from different sessions that can exist among each other thanks to different subdomains. For example, hoodie uses api.appname.dev and hoodie.admin uses admin.api.appname.dev.

In order to allow access as different CouchDB users, I'll add an option to send basic auth headers with each request, that will need some time though. And I have to think more about it.


janl commented Apr 12, 2013

right, the problem is that on linux and windows setting up the nice subdomains is less than trivial / near impossible the way we’d need it.


caolan commented May 3, 2013

This debate now seems to be settled in favour of:


@caolan caolan closed this May 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment