Skip to content
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

Use http server for file references #461

Merged
merged 1 commit into from
Jun 5, 2023
Merged

Use http server for file references #461

merged 1 commit into from
Jun 5, 2023

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
1 participant