Add auth and version support to socks proxy (#883)

* Add auth support to socsk proxy

* better logging

* fix lint issue

* implement fixes and version

* add to test reference too
This commit is contained in:
Aria Moradi
2024-02-19 19:36:39 +03:30
committed by GitHub
parent dda86cdb93
commit fc53d69f82
6 changed files with 67 additions and 9 deletions

View File

@@ -37,8 +37,11 @@ class SettingsMutation {
// proxy
updateSetting(settings.socksProxyEnabled, serverConfig.socksProxyEnabled)
updateSetting(settings.socksProxyVersion, serverConfig.socksProxyVersion)
updateSetting(settings.socksProxyHost, serverConfig.socksProxyHost)
updateSetting(settings.socksProxyPort, serverConfig.socksProxyPort)
updateSetting(settings.socksProxyUsername, serverConfig.socksProxyUsername)
updateSetting(settings.socksProxyPassword, serverConfig.socksProxyPassword)
// webUI
updateSetting(settings.webUIFlavor?.uiName, serverConfig.webUIFlavor)