mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
This commit adds support for: * new unified provider.json support to save space compared to individual provider json files * new v.recipes provider (thanks @morytyann!) * functional testing * minor js/shell code improvements Signed-off-by: Stan Grishin <stangri@melmac.ca>
37 lines
686 B
JSON
37 lines
686 B
JSON
{
|
|
"title": "v.recipes",
|
|
"template": "https://v.recipes/dns-{option}",
|
|
"bootstrap_dns": "1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4",
|
|
"help_link": "https://v.recipes/dns/",
|
|
"params": {
|
|
"option": {
|
|
"description": "Variant",
|
|
"type": "select",
|
|
"regex": "(query|security|adblock|ecs|cn)",
|
|
"options": [
|
|
{
|
|
"value": "query",
|
|
"description": "Unfiltered"
|
|
},
|
|
{
|
|
"value": "security",
|
|
"description": "Security"
|
|
},
|
|
{
|
|
"value": "adblock",
|
|
"description": "Adblock"
|
|
},
|
|
{
|
|
"value": "ecs",
|
|
"description": "ECS Optimized"
|
|
},
|
|
{
|
|
"value": "cn",
|
|
"description": "CN Optimized"
|
|
}
|
|
],
|
|
"default": "query"
|
|
}
|
|
}
|
|
}
|