Business intelligence made simple
override_csp updates
Andrew8a16749772ba
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 412ca9d0..643f186b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,6 @@## 1.9.1 [unreleased]+- Added `override_csp` option- Use SQL for Elasticsearch- Fixed error with latest `google-cloud-bigquery`diff --git a/README.md b/README.mdindex 81c84f01..44ef89dc 100644--- a/README.md+++ b/README.md@@ -644,7 +644,11 @@ Commit and deploy away. The first deploy may take a few minutes.## Content Security Policy-If Blazer views are stuck with "Loading..." message there might be a problem with strict CSP settings in your app. This can be easily checked with Firefox or Chrome dev tools. If this is the case you can tell Blazer to override these settings for it's controllers with `override_csp: true` in `blazer.yml`.+If views are stuck with a `Loading...` message, there might be a problem with strict CSP settings in your app. This can be checked with Firefox or Chrome dev tools. You can allow Blazer to override these settings for its controllers with:++```yml+override_csp: true+```## Upgradingdiff --git a/lib/generators/blazer/templates/config.yml.tt b/lib/generators/blazer/templates/config.yml.ttindex 637691de..70610f8a 100644--- a/lib/generators/blazer/templates/config.yml.tt+++ b/lib/generators/blazer/templates/config.yml.tt@@ -58,5 +58,5 @@ check_schedules:- "1 hour"- "5 minutes"-# override app-wide csp for Blazer controllers-override_csp: false+# override app-wide CSP for Blazer controllers+# override_csp: true