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

Some examples are incorrect for Workers Static Assets Routing #18824

Open
ironcito opened this issue Dec 18, 2024 · 0 comments
Open

Some examples are incorrect for Workers Static Assets Routing #18824

ironcito opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
content:edit Request for content edits documentation Documentation edits product:workers Related to Workers product

Comments

@ironcito
Copy link

Existing documentation URL(s)

https://developers.cloudflare.com/workers/static-assets/routing/#alternate-configuration-options

What changes are you suggesting?

Under "Alternate configuration options", in the html_handling: "auto-trailing-slash" section, most of the /folder examples are incorrect. One such example says:

Incoming Request: /folder
Response: 307 to /folder

That would create a redirect loop. I believe it should say "307 to /folder/", with a trailing slash, as it does just above, in the "Default configuration" section. The same applies to the three other examples which say "307 to /folder" in that section.

There are also several examples, in all the sections, which are missing "to" and just say "307 /folder" or similar, which is inconsistent with the rest.

Additional information

No response

@ironcito ironcito added content:edit Request for content edits documentation Documentation edits labels Dec 18, 2024
@github-actions github-actions bot added the product:workers Related to Workers product label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits product:workers Related to Workers product
Projects
None yet
Development

No branches or pull requests

5 participants