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
Storybook uses x-default-browser for determing a default browser. On Linux, x-default-browser requires xdg-utils to be installed to determine it. It determines by running a command xdg-mime query default x-scheme-handler/http.
In case of WSL, we doesn't need to have xdg-utils to be installed to open in a browser. We still can open it in a browser without it.
However, we doesn't fallback when x-default-browser fails. I think we should fallback to open in this case.
The text was updated successfully, but these errors were encountered:
Describe the bug
Storybook uses
x-default-browser
for determing a default browser. On Linux,x-default-browser
requiresxdg-utils
to be installed to determine it. It determines by running a commandxdg-mime query default x-scheme-handler/http
.In case of WSL, we doesn't need to have
xdg-utils
to be installed to open in a browser. We still can open it in a browser without it.However, we doesn't fallback when
x-default-browser
fails. I think we should fallback toopen
in this case.The text was updated successfully, but these errors were encountered: