簡體   English   中英

內容安全策略:頁面的設置阻止自行加載資源(“ default-src”)

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

我的angular.js應用在本地計算機上運行良好,但是當我使用nginx將其部署在服務器上時,它給了我一個錯誤

    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 

這就是我在瀏覽器中看到的

在此處輸入圖片說明 誰能幫我解決這個問題

問題是當我禁用插件時,我在firefox上安裝了vim vinex插件。 我不再收到錯誤

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM