]> git.p6c8.net - policy-templates.git/commitdiff
Add policies around Handlers example.
authorMichael Kaply <345868+mkaply@users.noreply.github.com>
Tue, 21 Jul 2020 20:13:02 +0000 (15:13 -0500)
committerMichael Kaply <345868+mkaply@users.noreply.github.com>
Tue, 21 Jul 2020 20:13:02 +0000 (15:13 -0500)
README.md

index 4acb0f4a4ebda8afe82cdc9ecf944375ec2331f8..cd5ffba19fe948c7464b3d32a68b6e27dd9be181 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2584,30 +2584,34 @@ Value (string):
 #### policies.json
 ```
 {
 #### policies.json
 ```
 {
-  "mimeTypes": {
-    "application/msword": {
-      "action": "useSystemDefault",
-      "ask": false
-    }
-  },
-  "schemes": {
-    "mailto": {
-      "action": "useHelperApp",
-      "ask": true | false,
-      "handlers": [{
-        "name": "Gmail",
-        "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
-      }]
-    }
-  },
-  "extensions": {
-    "pdf": {
-      "action": "useHelperApp",
-      "ask": true | false,
-      "handlers": [{
-        "name": "Adobe Acrobat",
-        "path": "/usr/bin/acroread"
-      }]
+  "policies": {
+    "Handlers": {
+      "mimeTypes": {
+        "application/msword": {
+          "action": "useSystemDefault",
+          "ask": false
+        }
+      },
+      "schemes": {
+        "mailto": {
+          "action": "useHelperApp",
+          "ask": true | false,
+          "handlers": [{
+            "name": "Gmail",
+            "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
+          }]
+        }
+      },
+      "extensions": {
+        "pdf": {
+          "action": "useHelperApp",
+          "ask": true | false,
+          "handlers": [{
+            "name": "Adobe Acrobat",
+            "path": "/usr/bin/acroread"
+          }]
+        }
+      }
     }
   }
 }
     }
   }
 }

patrick-canterino.de