chore(plex): add valid_chars and docs (#3399)
* chore(plex): add valid_chars and docs * adapt to new questions template
This commit is contained in:
parent
b02507d8a1
commit
e1e07ea7c2
|
@ -0,0 +1,16 @@
|
|||
# Input Validation
|
||||
|
||||
**`Advertise IP`**
|
||||
Accepted formats are:
|
||||
|
||||
- `https://192.168.1.100:32400`
|
||||
- `https://192.168.1.100:32400`
|
||||
- `http://dnsname:32400`
|
||||
- `https://dnsname:32400`
|
||||
|
||||
Regex used to match this: `^http(s)?:\/\/.*:\d*$`
|
||||
You can try live [here](https://regex101.com/r/3ehGWY/1)
|
||||
|
||||
---
|
||||
|
||||
_If you find a field that you think it needs validation, please open an issue on github_
|
|
@ -21,10 +21,11 @@ questions:
|
|||
attrs:
|
||||
- variable: ADVERTISE_IP
|
||||
label: "Advertise IP"
|
||||
description: "IP to advertise to Plex"
|
||||
description: "IP to advertise to Plex, Change SERVER_IP to your actual server IP"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
valid_chars: '^http(s)?:\/\/.*:\d*$'
|
||||
default: "http://SERVER_IP:32400"
|
||||
- variable: ALLOWED_NETWORKS
|
||||
label: "Allowed Networks"
|
||||
description: "Networks allowed to connect to plex. Add your local network IP to this list"
|
||||
|
|
Loading…
Reference in New Issue