-
Notifications
You must be signed in to change notification settings - Fork 10k
[Workers] Fix URL Matching Usage in custom_headers.mdx Example
#23541
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
[Workers] Fix URL Matching Usage in custom_headers.mdx Example
#23541
Conversation
The previous example for matching `workers.dev` URLs under "Prevent your workers.dev URLs showing in search results" incorrectly used two splats, i.e. `*`, when only one splat can be used at maximum. This commit updates the example to use a single splat wildcard with a placeholder pattern that correctly matches both `workers.dev` URLs and Preview URLs.
|
Congratulations @sibi361, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cme7i14t7117307l1d3zkoohz This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
) * fix: correct noindex example URL pattern typo The previous example for matching `workers.dev` URLs under "Prevent your workers.dev URLs showing in search results" incorrectly used two splats, i.e. `*`, when only one splat can be used at maximum. This commit updates the example to use a single splat wildcard with a placeholder pattern that correctly matches both `workers.dev` URLs and Preview URLs. * fix: update noindex example URL pattern for `pages.dev` * Retrigger CI * Retrigger CI --------- Co-authored-by: Kody Jackson <[email protected]>
Summary
The previous example for matching
workers.devURLs under "Prevent your workers.dev URLs showing in search results" incorrectly used two "splats", i.e.*, when only one splat can be used at maximum.Addressing the above feedback raised in #23472, this PR updates the example to use a single splat wildcard with a placeholder pattern that correctly matches both
workers.devURLs and Preview URLs.closes #23472
Documentation checklist