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

Add 404 on router #1451

Merged
merged 2 commits into from
Feb 8, 2023
Merged

Add 404 on router #1451

merged 2 commits into from
Feb 8, 2023

Conversation

patrickelectric
Copy link
Member

image

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Copy link
Collaborator

@joaoantoniocardoso joaoantoniocardoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just notice here that making a catch-all route will result in the 404 page having a 200 status code response, which works in our case, but for online websites usually is not the best idea. Probably we would have to have a catch-all on the server instead, maybe redirecting it to a /404 route :)

@patrickelectric
Copy link
Member Author

This is just for the router on BlueOS, we should add one in nginx.

@patrickelectric patrickelectric merged commit e2b8f5a into bluerobotics:master Feb 8, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants