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
Missing favicon when using staticDirs configuration option #17008
Comments
@oscard0m Is this something you can take a look at? 🙏 |
I'm experiencing this as well. Glad it's not just me. |
This is only a problem when running the storybook in development mode. When the static assets are compiled and served statically, the favicon is correct. |
Experiencing the same, annoying :( |
Yo-ho-ho!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-alpha.17 containing PR #17241 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Yowza!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.13 containing PR #17241 that references this issue. Upgrade today to the
|
Describe the bug
I have a storybook that contains a file:
favicon.ico
, and it is served with my running storybook when the-s public
CLI option is provided. When I update the configuration to usestaticDirs: [ '../public' ]
, and remove the-s public
CLI option, my favicon is not loaded, and the default storybook favicon is served instead.I would expect the favicon.ico file to be served when using the
staticDirs
configuration option.To Reproduce
favicon.ico
to any version of storybook running 6.4.9.staticDirs
set to the folder containing thefavicon.ico
.System
Additional context
It looks like favicons are only processed in the branch that uses
options.staticDir
, based on server-static.ts L54The text was updated successfully, but these errors were encountered: