You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same as vitejs/vite#8627. Requests to __open-in-editor need to respect base because the middleware for __open-in-editor runs after the middleware that strips off base and rejects requests that didn't include base.
Reproduction
Configure an app with a base in vite's config
Introduce an error that causes checker's overlay to appear
Click a file link
Observe that nothing happens.
Expected behavior
__open-in-editor is requested with base prepended.
@ascott18 I would like to fix this as we should keep the same strategy with __vite_ping. But I'm confused that I still can open an editor even with a base field by clicking on the UI on my mac. But when I open the __open-in-editor fetch request in a new tab. It shows me that The server is configured with a public base URL of /a/b/c/ - did you mean to visit. Did I miss something or is there some difference between mac and Windows? 🤔
Describe the bug
Same as vitejs/vite#8627. Requests to
__open-in-editor
need to respectbase
because the middleware for__open-in-editor
runs after the middleware that strips offbase
and rejects requests that didn't includebase
.Reproduction
base
in vite's configExpected behavior
__open-in-editor
is requested withbase
prepended.System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: