Some examples are incorrect for Workers Static Assets Routing #18824
Labels
content:edit
Request for content edits
documentation
Documentation edits
product:workers
Related to Workers product
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
The text was updated successfully, but these errors were encountered: