From d82c6f6222d85125514356bd44305b989fcc379a Mon Sep 17 00:00:00 2001 From: Gauthier Date: Thu, 4 Sep 2025 14:45:42 +0200 Subject: [PATCH] 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. --- src/components/Settings/SettingsNetwork/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Settings/SettingsNetwork/index.tsx b/src/components/Settings/SettingsNetwork/index.tsx index f0ac1f13..f0d08a7f 100644 --- a/src/components/Settings/SettingsNetwork/index.tsx +++ b/src/components/Settings/SettingsNetwork/index.tsx @@ -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,