简体   繁体   中英

Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”)

My angular.js app works fine on local machine, but when I deploy it on server using nginx, it gives me an error

    Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). app:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). Source: .vimvixen-console-frame {
  margin: 0;
 .... app:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). app:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). Source: .vimvixen-hint {
  background-color: yel.... app:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). app:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). Source: .vimvixen-console-frame {
  margin: 0;
 .... app:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). app:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“default-src”). Source: .vimvixen-hint {
  background-color: yel.... app:1 

And this is what I get on my browser

在此处输入图片说明 can anyone please help me in resolving this issue

This issue was I had an vim vinex addon installed on on my firefox, when I disabled the addon. I am not getting the error anymore

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM