-
Notifications
You must be signed in to change notification settings - Fork 59
docs: add auto-tls example #194
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
Conversation
fcdbcb1 to
c06104f
Compare
Adds an example showing how to configure auto-tls and includes discussion of some of the trade-offs and descisions you have to make.
c06104f to
230e8a5
Compare
| // other config | ||
| tcp() | ||
| ], | ||
| services: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you decide which services to keep for each of these sections?
For example, shouldn't we also include identify here which is necessary for most of the other services to work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was meant to be an additive thing, not replacing the existing config blocks.
It says // other config everywhere but I guess that's not obvious enough - do you think using a formatted diff instead of a js code block would be clearer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think adding a diff block would be better, runnable code is included, so should be a problem
|
Nice! |
Follow up to address issues raised in #194 (comment) Use diff blocks to show code changes over time to make it easier to follow.
Follow up to address issues raised in #194 (comment) Use diff blocks to show code changes over time to make it easier to follow.
Follow up to address issues raised in libp2p/js-libp2p-examples#194 (comment) Use diff blocks to show code changes over time to make it easier to follow.
Adds an example showing how to configure auto-tls and includes discussion of some of the trade-offs and descisions you have to make.
Change checklist