fix(settings): correct port saving of proxy settings (#1890)
The port of the proxy settings was saved as a string instead of a number, causing the API to throw an error and making it impossible to save the network settings.
This commit is contained in:
@@ -126,7 +126,7 @@ const SettingsNetwork = () => {
|
|||||||
proxy: {
|
proxy: {
|
||||||
enabled: values.proxyEnabled,
|
enabled: values.proxyEnabled,
|
||||||
hostname: values.proxyHostname,
|
hostname: values.proxyHostname,
|
||||||
port: values.proxyPort,
|
port: Number(values.proxyPort),
|
||||||
useSsl: values.proxySsl,
|
useSsl: values.proxySsl,
|
||||||
user: values.proxyUser,
|
user: values.proxyUser,
|
||||||
password: values.proxyPassword,
|
password: values.proxyPassword,
|
||||||
|
|||||||
Reference in New Issue
Block a user