Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staticwebapp config: allow unsafe-eval and unsafe-inline in CSP
Currently the website complains that both unsafe-eval and unsafe-inline are not allowed by the Content Security Policy. However, it seems that the former is required for the search feature and the latter to be able to store the theme selection. The theme selection could be imported differently to prevent the need for unsafe-inline, but for the time being this should solve both issues. Fixes #61
- Loading branch information