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

Routing is broken when I access it via the browser ? #4

Closed
olignyf opened this issue Apr 8, 2019 · 1 comment
Closed

Routing is broken when I access it via the browser ? #4

olignyf opened this issue Apr 8, 2019 · 1 comment

Comments

@olignyf
Copy link

olignyf commented Apr 8, 2019

Hi, I need help.

When I run the unit tests, they all pass. I have users in psql.
However when I access via the web browser I see

for url http://10.65.10.117:35729/
{"tinylr":"Welcome","version":"0.2.1"}

for url http://10.65.10.117:35729/api/v1/users
{"error":"not_found","reason":"no such route"}

Thanks!

@olignyf
Copy link
Author

olignyf commented Apr 8, 2019

Ahh I figured it out. I need to use port 3000
http://10.65.10.117:3000/api/v1/users

@olignyf olignyf closed this as completed Apr 8, 2019
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

1 participant