Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment option is "production" #511

Closed
ricardopereira opened this issue Oct 12, 2016 · 1 comment
Closed

Environment option is "production" #511

ricardopereira opened this issue Oct 12, 2016 · 1 comment

Comments

@ricardopereira
Copy link
Contributor

If environment option is configured and is "production" then use the default hosts. Part of http://docs.ably.io/client-lib-development-guide/features/#RSC11.

@tcard
Copy link
Contributor

tcard commented Oct 12, 2016

It's not "use the default hosts" but "don't prepend the environment (ie. production-) to the hosts", custom or not. environment="sandbox",restHost="fake.ably.io" should send requests to sandbox-fake.ably.io, while environment="production",restHost="fake.ably.io" should send them to fake.ably.io.

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

No branches or pull requests

2 participants