# Schlechte CSP-Richtlinie JS-Datei

**URL:** <https://meta.discourse.org/t/bad-csp-policy-js-file/124982>\
**Category:** Support\
**Created:** [6. August 2019 um 09:07 UTC](https://meta.discourse.org/t/bad-csp-policy-js-file/124982 "2019-08-06T09:07:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![NallDev](https://avatars.discourse-cdn.com/v4/letter/n/49beb7/32.png) [@NallDev](https://meta.discourse.org/u/NallDev)\
**Post date:** [6. August 2019 um 09:07 UTC](https://meta.discourse.org/t/bad-csp-policy-js-file/124982/1 "2019-08-06T09:07:52Z")

</div>

Hallo,

ich habe gestern eine Discourse-Instanz installiert, und heute wird eine dunkle Seite angezeigt. In der Konsole sehe ich:

```plaintext
Das Laden des Skripts 'https://ajax.cloudflare.com/cdn-cgi/scripts/95c75768/cloudflare-static/rocket-loader.min.js' wurde verweigert, da es gegen die folgende Content-Security-Policy-Anweisung verstößt: "script-src 'unsafe-eval' 'report-sample' [url]/logs/ [url]/sidekiq/ [url]/mini-profiler-resources/ [url]/assets/ [url]/brotli_asset/ [url]/extra-locales/ [url]/highlight-js/ [url]/javascripts/ [url]/plugins/ [url]/theme-javascripts/ [url]/svg-sprite/". Beachten Sie, dass 'script-src-elem' nicht explizit festgelegt wurde, sodass 'script-src' als Fallback verwendet wird.
Beim Abrufen des Skripts wurde ein schlechter HTTP-Antwortcode (404) empfangen.

```

Wie kann ich das beheben?

---

_[View the full topic](https://meta.discourse.org/t/bad-csp-policy-js-file/124982)._
