From 5511f416cb6c2f33fb8fccdc8e9b81fb7bb4b9fa Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Tue, 17 Apr 2018 15:04:50 +0200 Subject: [PATCH] Add missing 'policies' level for 'Proxy' snippet and missing commas --- README.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index baf14b7e..64a8602b 100644 --- a/README.md +++ b/README.md @@ -369,8 +369,8 @@ This policy sets domains that can install extensions, as well as the default beh "policies": { "InstallAddonsPermission": { "Allow": ["http://example.org/", - "http://example.edu/"] - "Default": [true|false], /* If this is set to false, add-ons cannot be installed by the user */ + "http://example.edu/"], + "Default": [true|false] /* If this is set to false, add-ons cannot be installed by the user */ } } } @@ -432,19 +432,21 @@ This policy allows you to specify proxy settings. These settings correspond to t To specify ports, append them to the hostnames with a colon (:). If Locked is set to true, the values can't be changed by the user. ``` { - "Proxy": { - "Mode": ["none", "system", "manual", "autoDetect", "autoConfig"] - "Locked": [true, false] - "HTTPProxy": "hostname", - "UseHTTPProxyForAllProtocols": [true, false] - "SSLProxy": "hostname", - "FTPProxy": "hostname", - "SOCKSProxy": "hostname", - "SOCKSVersion": [4, 5], - "Passthrough": "List of passthrough addresses/domains", - "AutoConfigURL": "URL_TO_AUTOCONFIG", - "AutoLogin": [true, false], - "UseProxyForDNS": [true, false] + "policies": { + "Proxy": { + "Mode": ["none", "system", "manual", "autoDetect", "autoConfig"], + "Locked": [true, false], + "HTTPProxy": "hostname", + "UseHTTPProxyForAllProtocols": [true, false], + "SSLProxy": "hostname", + "FTPProxy": "hostname", + "SOCKSProxy": "hostname", + "SOCKSVersion": [4, 5], + "Passthrough": "List of passthrough addresses/domains", + "AutoConfigURL": "URL_TO_AUTOCONFIG", + "AutoLogin": [true, false], + "UseProxyForDNS": [true, false] + } } } ```