cloudflare / cloudflare/templates
🐛 BUG: vite-react-template routing problems
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 1k
- Avg merge
- 17h 44m
- Merged PRs (30d)
- 10
Description
### Which template does this pertain to?
vite-react-template
### What versions are you using?
4.12.0 [Wrangler] 22 [node]
### What operating system and version are you using?
Linux arch btw
### Please provide a link to a minimal reproduction (optional)
_No response_
### Describe the Bug
Requests coming from the browser goes to the react app, and if I use a tool like postman it hits the worker, how do I control this?
Context:
http://localhost:5173/auth/verify-email?token=6e1b1afc
this is a worker route, but it will be sent as a link in an email, so the user will open the link the browser and hit the frontend app for some reason, I can't find the configuration of what goes where in the template.
### Please provide any relevant error logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.