Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

[Bug] Running into CSP issues when deploying to gh pages #97

Open
shanswami opened this issue Oct 23, 2020 · 1 comment
Open

[Bug] Running into CSP issues when deploying to gh pages #97

shanswami opened this issue Oct 23, 2020 · 1 comment
Labels

Comments

@shanswami
Copy link

Describe the bug

We have a custom build structure -
"build-storybook": "build-storybook -s local-dir",

but when deploying we run into this error on our GitHub pages instance.
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'unsafe-inline'".

we've recently updated to storybook v 6 and have verified that the local instance of storybook is working perfectly.

Screenshots and/or logs

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants