-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Do not redirect index.html to / #13729
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
Conversation
started the job as gitpod-build-jp-fix-redirect.1 because the annotations in the pull request description changed |
b7a304a
to
faad99e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, going to test it
question (non-blocking): @jeanp413 so this means that in the case for @mustard-mh (see first screenshot), the experience should be smoother? Should it be 239ms faster to open? 👀 |
if resourcePath == "/" { | ||
resourcePath = "/index.html" | ||
} | ||
if strings.HasSuffix(resourcePath, "index.html") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[non-block] aindex.html
is included, but it's fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold if you want to change it
@filiptronicek Yes, it can remove one useless request |
faad99e
to
d5dd29b
Compare
/unhold |
Description
Do not redirect index.html to /
Related issues
How to test
out/vs/workbench/contrib/webview/browser/pre/index.html
toout/vs/workbench/contrib/webview/browser/pre/
Release Notes
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide