Skip to content

Commit

Permalink
Update stream-object.json
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Dec 30, 2024
1 parent c328e7a commit f3c288e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions backend/schema/components/stream-object.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"incoming_port": {
"type": "string",
"pattern": "^(?!80$|443$)([0-9]+|[0-9]+-[0-9]+)$",
"pattern": "^(?!80$|443$)(\\d{1,5}|\\d{1,5}-\\d{1,5})$",
"maxLength": 11
},
"forwarding_host": {
Expand All @@ -40,9 +40,8 @@
]
},
"forwarding_port": {
"type": "integer",
"minimum": 1,
"maximum": 65535
"type": "string",
"pattern": "^(\\d{1,5}|\\$server_port)$"
},
"tcp_forwarding": {
"type": "boolean"
Expand Down

0 comments on commit f3c288e

Please sign in to comment.