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

Examples from README not working anymore #310

Open
sfechanique opened this issue Nov 5, 2024 · 1 comment
Open

Examples from README not working anymore #310

sfechanique opened this issue Nov 5, 2024 · 1 comment

Comments

@sfechanique
Copy link

It seems that something has changed so this is not working now:

var proxy = require('redbird')({ port: 80 });
This throws an error: is not a function

Trying for some time I was able to make it work again with this:

var redbird = require('redbird') var proxy = new redbird.Redbird({port: 80} })

@manast
Copy link
Member

manast commented Nov 5, 2024

You are right and I apologise, I was a bit lazy after releasing version 1.0.0 and did not review the old examples. I will fix them asap.

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