Skip to content

Commit

Permalink
Update config.schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Feb 2, 2024
1 parent 71386d7 commit eadb145
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
"type": "boolean",
"title": "Auto Start Tunnel Install",
"required": true,
"description": "Automatically start the Cloudflared Tunnel install process.",
"condition": {
"functionBody": "return (model.url || model.port || model.hostname || model.protocol);"
}
"description": "Automatically start the Cloudflared Tunnel install process."
},
"url": {
"type": "string",
Expand All @@ -31,7 +28,7 @@
"pattern": "^https?://",
"required": false,
"condition": {
"functionBody": "return (model.acceptCloudflareNotice);"
"functionBody": "return (model.url || model.port || model.hostname || model.protocol);"
}
},
"port": {
Expand All @@ -40,7 +37,7 @@
"placeholder": "8581",
"required": false,
"condition": {
"functionBody": "return (model.acceptCloudflareNotice);"
"functionBody": "return (model.url);"
}
},
"hostname": {
Expand All @@ -49,7 +46,7 @@
"placeholder": "homebridge.local",
"required": true,
"condition": {
"functionBody": "return (model.acceptCloudflareNotice);"
"functionBody": "return (model.url);"
}
},
"protocol": {
Expand All @@ -68,7 +65,7 @@
}
],
"condition": {
"functionBody": "return (model.acceptCloudflareNotice);"
"functionBody": "return (model.url);"
}
},
"verifyTLS": {
Expand Down

0 comments on commit eadb145

Please sign in to comment.