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:
Gauthier
2025-09-04 14:45:42 +02:00
committed by GitHub
parent 13fe4c890b
commit d82c6f6222

View File

@@ -126,7 +126,7 @@ const SettingsNetwork = () => {
proxy: {
enabled: values.proxyEnabled,
hostname: values.proxyHostname,
port: values.proxyPort,
port: Number(values.proxyPort),
useSsl: values.proxySsl,
user: values.proxyUser,
password: values.proxyPassword,