浏览代码

Merge remote-tracking branch 'origin/master'

Weblate 10 年之前
父节点
当前提交
a80489c95c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      omega-target-chromium-extension/src/options.coffee

+ 1 - 1
omega-target-chromium-extension/src/options.coffee

@@ -98,7 +98,7 @@ class ChromeOptions extends OmegaTarget.Options
         else
           # Try to set the proxies of all possible protocols.
           for protocol in protocols
-            rules[protocol] ?= profile.fallbackProxy
+            rules[protocol] ?= JSON.parse(JSON.stringify(profile.fallbackProxy))
       else
         rules['fallbackProxy'] = profile.fallbackProxy
     else if not protocolProxySet