Skip to content

Conversation

@rita3ko
Copy link
Contributor

@rita3ko rita3ko commented Sep 29, 2020

No description provided.


- `route` <Type>not inherited</Type> <PropMeta>optional</PropMeta>
- A list of routes you’d like to use your worker on. These follow exactly the same rules a `route`, but you can specify a list of them.<br />`routes = ["http://example.com/hello", "http://example.com/goodbye"]` One key of `route`OR `routes` is only if you are not using a [workers.dev](https://workers.dev) subdomain.
- A route, specificied by URL pattern, on your zone that you would like to run your Worker on. <br />`route = "http://example.com/*"`. One key of `route` OR `routes` is only if you are not using a [workers.dev](https://workers.dev) subdomain.
Copy link
Contributor

Choose a reason for hiding this comment

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

+1. I do wonder if the One key of route or routes is only if... is kinda confusing verbiage but I know it's pre-existing. not a blocker

Copy link

Choose a reason for hiding this comment

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

s/specificied/specified

Copy link

@jclee jclee Sep 29, 2020

Choose a reason for hiding this comment

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

Also, it feels like there is a word missing from "One key of routeOR routes is only if...", nm, missed that this was already commented on.

@rita3ko
Copy link
Contributor Author

rita3ko commented Oct 2, 2020

closing this in favor of cloudflare/cloudflare-docs#40

@rita3ko rita3ko closed this Oct 2, 2020
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