bipio-server / bipio

The bip.io API Server
https://bip.io
Apache License 2.0
873 stars 117 forks source link

domain cannot changed when set domain_public #43

Closed EricCat closed 9 years ago

EricCat commented 9 years ago

I set domain_public in config with localhost:5000 and domain is localhost. but when I setup bipio server, I found the mongodb domain document still store admin.localhost as name. Is it a issues?

mjpearson commented 9 years ago

Hi, nope that's not an issue. Domains are used by the bips collection to bind a user domain to HTTP or SMTP bip endpoints, this means that bips are namespaced to individual users.

An easy way to remember is :

Hope that helps, we'll be getting better documentation out in the next few weeks to cover these areas

EricCat commented 9 years ago

@mjpearson Thank you very much