-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
404 page #135
404 page #135
Conversation
Ping. |
@rileyjbauer can you review it? |
Is this a real 404? (Does it give the 404 HTTP code?) Can you just add |
Pipelines UI is singe page app, which means all the routing is done on the client, so the server sends the HTML/JS/CSS bundle just once (or multiple times when we have code splitting), returning 200 status, and never serving such requests again. But what's the value of having a 404 return code here? We don't really care about search engine crawling, SEO, or any of that, we're not a public website either |
When I visit a non-existing url like http://localhost:8080/pipelines/ I'd like to see a proper error instead of a blank page with some scripts. |
That requires a change to Ambassador, it's not something the Pipelines frontend can handle. A request to /pipelines won't even reach our webserver. |
Understood. Then how does this fix #55 ? |
I misread your issue. This fixes all frontend-managed pages. For example if the Pipelines UI is at http://localhost:8080/pipeline then this handles going to http://localhost/pipeline/#/jobz instead of http://localhost/pipeline/#/jobs. Outside this change, that issue shouldn't be on the Pipelines repo, it should be on kubeflow/kubeflow, that's where the Ambassador config is managed. |
/lgtm |
/retest |
/test build-image |
bb28567
to
3f7ab41
Compare
Pull Request Test Coverage Report for Build 278
💛 - Coveralls |
3f7ab41
to
6dab7b8
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rileyjbauer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1 similar comment
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rileyjbauer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
…6994e187c1eeb6514bf54083 [Snyk] Security upgrade alpine from 3.11 to 3.16.7
Fixes #55.
This change is