We just upgraded to 2.20.0 and see some problems with Storybook starting under a different hostname. Before it was always localhost now it seems to be the machine name. Even when -h 0.0.0.0 or -h localhost is passed. I am still investigating why this is happening with the new version.
Hi @joscha, thanks for reporting this. It's a bug recently crept into Storybooks, I'm working on the fix right now.
Released v2.20.1 with a patch. It should work correctly now.
This happened when I removed the STORYBOOK_ prefix from config environment variables (because the same prefix is used to send data to the client). [source]
nice one, thank you @mnmtanish
just verified: this fixed the problem!
Most helpful comment
Released
v2.20.1with a patch. It should work correctly now.This happened when I removed the
STORYBOOK_prefix from config environment variables (because the same prefix is used to send data to the client). [source]