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
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.