54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"common": {
|
|
"name": "proxy",
|
|
"version": "1.0.3",
|
|
"title": "proxy",
|
|
"desc": {
|
|
"en": "This adapter allows to reach other HTTP servers (like WEB CAM) in the same web server",
|
|
"cn": "云控代理"
|
|
},
|
|
"authors": [
|
|
"bluefox <dogafox@gmail.com>"
|
|
],
|
|
"license": "MIT",
|
|
"platform": "Node.js",
|
|
"mode": "extension",
|
|
"loglevel": "info",
|
|
"icon": "proxy.png",
|
|
"webExtension": "lib/proxy.js",
|
|
"readme": "https://git.spacen.net/yunkong2/yunkong2.proxy/blob/master/README.md",
|
|
"keywords": [
|
|
"web",
|
|
"proxy",
|
|
"communication"
|
|
],
|
|
"materialize": true,
|
|
"enabled": true,
|
|
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.proxy/raw/master/admin/proxy.png",
|
|
"type": "network",
|
|
"dependencies": [
|
|
{
|
|
"js-controller": ">=0.15.0"
|
|
}
|
|
]
|
|
},
|
|
"native": {
|
|
"route": "",
|
|
"webInstance": "",
|
|
"errorTimeout": 10000,
|
|
"rules": [
|
|
{
|
|
"regex": "sonos/",
|
|
"url": "http://localhost:8083"
|
|
},
|
|
{
|
|
"regex": "api/",
|
|
"url": "http://localhost:8084"
|
|
},
|
|
{
|
|
"regex": "node-red/",
|
|
"url": "http://localhost:1880"
|
|
}
|
|
]
|
|
}
|
|
} |