-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
The 404 page can't load files that it depends on when it's not served at the same path as static-assets/
(the path contains a slash after the root of the page).
Example:
https://api.dart.dev/dart-core/dart-cor2-library.html (wrong styling, broken links to other dartdoc pages)
https://api.dart.dev/wrong (works as expected)
Background:
The load balancer of api.dart.dev (or currently the GCS bucket) serve the 404 page as part of the 404 response of the given URL (no redirect). However, the page's implementation assumes it's served relative to its static-assets/
(which is only available at the root).
Possible solutions:
- The page is rewritten to not depend on its location.
- The load balancer could intercept requests for
**/static-assets/**
and redirect them to the root (hackish as the page shouldn't depend on load balancer rules to work, would fix the styling but might need additional redirects to make the page fully functional).
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug