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

Access with :params doesn't work #62

Closed
mk0y opened this issue Aug 3, 2020 · 0 comments · Fixed by #63
Closed

Access with :params doesn't work #62

mk0y opened this issue Aug 3, 2020 · 0 comments · Fixed by #63
Labels
bug Something isn't working

Comments

@mk0y
Copy link
Contributor

mk0y commented Aug 3, 2020

// http :8000/ping/12
const use = () => ({ resp: "pong" });
app.get(() => ({ path: "/ping/:id", use }));

Result: HTTP/1.1 404 Not Found

@mk0y mk0y added the bug Something isn't working label Aug 3, 2020
@mk0y mk0y linked a pull request Aug 3, 2020 that will close this issue
@mk0y mk0y closed this as completed Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant