Fix desktop to support this

This commit is contained in:
Igor Katson 2024-08-28 13:56:12 +01:00
parent d90c4dabe7
commit fef068d809
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
6 changed files with 27 additions and 29 deletions

View file

@ -36,7 +36,6 @@ interface RqbitDesktopConfigUpnp {
disable: boolean;
enable_server: boolean;
server_hostname: string;
server_friendly_name: string;
}

View file

@ -293,16 +293,6 @@ export const ConfigModal: React.FC<{
help="If enabled, rqbit will advertise the media to supported LAN devices, e.g. TVs."
/>
<FormInput
inputType="text"
label="[Required] Hostname"
name="upnp.server_hostname"
value={config.upnp.server_hostname}
disabled={!config.upnp.enable_server}
onChange={handleInputChange}
help="Set this to your LAN IP or hostname resolvable from LAN."
/>
<FormInput
inputType="text"
label="Friendly name"