瀏覽代碼

update templating doc

deadmoon 2 年之前
父節點
當前提交
32d153f9e2
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      TEMPLATING.md

+ 7 - 0
TEMPLATING.md

@@ -16,6 +16,13 @@ https://github.com/hellzerg/optimizer/blob/master/templates/optimizer-template.j
 * Choose your desired DNS provider.
 * Available values: ```Automatic | Cloudflare | OpenDNS | Quad9 | Google | AlternateDNS | Adguard | CleanBrowsing | CleanBrowsing (adult filter)```
 * If you wish to perform DNS cache flushing, set it to ```true```
+* Example:
+```
+"Pinger": {
+    "SetDNS": "Cloudflare",
+    "FlushDNSCache": true
+}
+```
 
 ### ProcessControl ###
 * Choose which processes you wish to prevent from running, using their filename.