Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending Server Request from the page #253

Closed
antfu opened this issue May 31, 2023 — with Volta.net · 1 comment
Closed

Sending Server Request from the page #253

antfu opened this issue May 31, 2023 — with Volta.net · 1 comment

Comments

Copy link
Member

antfu commented May 31, 2023

Currently, we are sending the request directly from the devtools UI using fetch, which sometimes can be inaccurate when the app has some client states like cookies etc. We should forward the arguments to the app client, sending the request from the app, and forward the return value to the devtools UI to present it.

@henrycunh
Copy link

this would be really really cool, currently I can't quite use the server routes feature on devtools because I can't input cookies nor use the ones from the client. Would make for amazing DX!

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

No branches or pull requests

2 participants