Skip to content

update the docs for per request config#338

Merged
UlisesGascon merged 1 commit intomasterfrom
jonchurch/options-callback-doc
Jun 5, 2025
Merged

update the docs for per request config#338
UlisesGascon merged 1 commit intomasterfrom
jonchurch/options-callback-doc

Conversation

@jonchurch
Copy link
Copy Markdown
Member

We get issues occassionally asking about how to do per route configuration of various sorts.

We do support this, but the readme doesn't do a good job of signaling.

Updated the readme to make it clearer, and tweaked the example to show a more appropriate example. The previous example can be accomplished by passing a function as the origin option, the updated example shows setting credentials because that is the only way to set it per request currently.

Copy link
Copy Markdown
Member

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@UlisesGascon UlisesGascon merged commit 70eadc4 into master Jun 5, 2025
@UlisesGascon UlisesGascon self-assigned this Jun 5, 2025
@UlisesGascon UlisesGascon deleted the jonchurch/options-callback-doc branch June 5, 2025 20:01
This was referenced Jan 19, 2026
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

Successfully merging this pull request may close these issues.

3 participants