frandiox / vitedge

Edge-side rendering and fullstack Vite framework
https://vitedge.js.org
MIT License
729 stars 31 forks source link

Map fetch requests made from props functions to internal API functions #37

Closed twhitson closed 3 years ago

twhitson commented 3 years ago

Currently if you want to make fetch requests from the props file, it must be to an external link since Cloudflare does not support circular requests to itself. It would be awesome if this mapped to internal functions similar to how requests from components map.