Skip to content

Conversation

@oblador
Copy link
Owner

@oblador oblador commented Jun 5, 2023

With Storybook 7 some files can no longer be served via file: protocol because it throws CORS errors. This PR fixes that by starting a local http server that serves those files instead.

Fixes #446, #460

@oblador oblador requested a review from techeverri June 5, 2023 15:02
@oblador oblador merged commit 079b9f1 into master Jun 5, 2023
@oblador oblador deleted the static-server branch June 5, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing to fetch stories with Storybook 7.0

2 participants