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

req.url always returns / in quick start example #2

Closed
aral opened this issue Aug 2, 2021 · 2 comments
Closed

req.url always returns / in quick start example #2

aral opened this issue Aug 2, 2021 · 2 comments

Comments

@aral
Copy link

aral commented Aug 2, 2021

In the quick start example, req.url always returns /.

To Reproduce

  1. Run the quick start example at https://tinyhttp.v1rtl.site/#get_started

What should happen

URL should read /page/test

What actually happens

URL reads / regardless of what URL is in the address bar.

Versions

  • node: v14.17.3
  • @tinyhttp/app: 1.3.15
@aral aral changed the title request.url always returning / in quick start example req.url always returning / in quick start example Aug 2, 2021
@aral aral changed the title req.url always returning / in quick start example req.url always returns / in quick start example Aug 2, 2021
@talentlessguy
Copy link
Member

hi, that example is not a real server... it's a js script lol

@talentlessguy talentlessguy transferred this issue from tinyhttp/tinyhttp Aug 3, 2021
@aral
Copy link
Author

aral commented Aug 3, 2021

hi, that example is not a real server... it's a js script lol

🤷‍♂️

@aral aral closed this as completed Aug 3, 2021
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