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

Documentation mismatch: sockjs_url required or not? #106

Closed
gabipetrovay opened this issue Dec 22, 2012 · 1 comment
Closed

Documentation mismatch: sockjs_url required or not? #106

gabipetrovay opened this issue Dec 22, 2012 · 1 comment

Comments

@gabipetrovay
Copy link

In the example section you create a SockJS server WITHOUT the sockjs_url option.

But the API documentation below says that the sockj_url option is required.

Or is this just blocking the usage of: createServer({}) ? Why?

@majek
Copy link
Member

majek commented Dec 23, 2012

Ha, sorry for the confusion!

Sockjs_url is indeed required, but a sensible default is supplied. By default sockjs-node will use sockjs CDN.

The idea is: leave it as it is while you're experimenting, but rethink once you deploy sockjs on a massive scale :)

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

No branches or pull requests

2 participants