Restart webhost if the user changes proxy settings resolves #6215 (#6216)

This commit is contained in:
junglebus 2019-10-20 13:41:51 +11:00 committed by garfield69
parent 3b9da0d9d5
commit 53a92446f8
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ namespace Jackett.Server.Controllers
serverConfig.ProxyUsername = config.proxy_username;
serverConfig.ProxyPassword = config.proxy_password;
configService.SaveConfig(serverConfig);
webHostRestartNeeded = true;
}
if (port != serverConfig.Port || external != serverConfig.AllowExternal)