Refused to load preload-store.js

FYI:

Screen Shot 2020-05-07 at 4.39.08 PM

Getting this error in chrome console after recent upgrade (was not seeing this console error before upgrade, FYI):

Refused to load the script 'https://staging.test-site.com/preload-store.js' because it violates the following Content Security Policy directive: "script-src https://staging.test-site.com/logs/ https://staging.test-site.com/sidekiq/ https://staging.test-site.com/mini-profiler-resources/ https://staging.test-site.com/assets/ https://staging.test-site.com/brotli_asset/ https://staging.test-site.com/extra-locales/ https://staging.test-site.com/highlight-js/ https://staging.test-site.com/javascripts/ https://staging.test-site.com/plugins/ https://staging.test-site.com/theme-javascripts/ https://staging.test-site.com/svg-sprite/ https://www.google-analytics.com/analytics.js". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fall

Same console error exists when browsing meta, FYI:

2 Likes

That’s a known issue. @eviltrout is working on it.

6 Likes

Fantastic!

Thanks for the update!

OBTW @gerhard

Is there a list of these “known issues” so when I see these things I can search the list first before asking a question or being generally annoying?

On this end, did a search but did not find any open Discourse or Ember issues on this.

2 Likes

No search is your best bet, it’s ok if you try to at least search first, no worries.

3 Likes

It should already be fixed if you get the latest version of Discourse.

edit: I see it’s still happening! I’ll look at it.

2 Likes

And now it’s fixed, for real this time!

7 Likes

Hi Robin @eviltrout

Thanks and confirmed (seems you removed preload-store.js) !!

On a distantly related note, ran across your awesome 2014 screencast today during morning coffee, which seems even more relevant today than in 2014:

How to debug an Ember.js application

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.