Browse Source

Fix config data structure

simov 7 years ago
parent
commit
ce7758e727
1 changed files with 4 additions and 0 deletions
  1. 4 0
      background/storage.js

+ 4 - 0
background/storage.js

@@ -99,6 +99,10 @@ md.storage = ({compilers}) => {
     if (options.content.autoreload === undefined) {
       options.content.autoreload = false
     }
+    // v3.6 -> v3.7
+    if (typeof options.origins['file://'] === 'object') {
+      options.origins['file://'].csp = false
+    }
 
     // reload extension bug
     chrome.permissions.getAll((permissions) => {