We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I started the server and tried to make a simple GET call through the browser. It errors with:
straightforward onUncaughtException: TypeError [ERR_INVALID_URL]: Invalid URL
Relevant place:
straightforward/src/Straightforward.ts
Line 295 in 84a4cb8
It's not possible to parse the URL like this. We need to do:
new URL(request.url, `http://${request.headers.host}`);
https://nodejs.org/api/http.html#messageurl
The text was updated successfully, but these errors were encountered:
@berstend is it realistic to expect a fix this week, or should I maintain a fork?
Sorry, something went wrong.
No branches or pull requests
Hi, I started the server and tried to make a simple GET call through the browser. It errors with:
Relevant place:
straightforward/src/Straightforward.ts
Line 295 in 84a4cb8
It's not possible to parse the URL like this. We need to do:
https://nodejs.org/api/http.html#messageurl
The text was updated successfully, but these errors were encountered: