hostname routing
Open
@lukeed is already working on this.
Since Mar 10, 2021.
enhancement
feedback wanted
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
The idea is to allow the same worker to service multiple domains ("zones"). Through [Worker Routes](https://developers.cloudflare.com/workers/platform/routes), there's no reason why you can't/shouldn't be able to do this in a real application.
And with SSL for SaaS, this may be way more common.
- [x] add `hostname` to request data
- [ ] add `App.host('example.com').add('GET', '/foo', handler)` API
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.