0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-12 16:50:43 -05:00

remove trailing slashes from server url

This commit is contained in:
IsWaffle 2024-05-08 09:04:10 -04:00
parent ccc74fcdb4
commit df5fc03708

View File

@ -30,6 +30,7 @@ namespace Aki.Launcher.Helpers
public void SaveSettings()
{
Server.Url = Path.TrimEndingDirectorySeparator(Server.Url);
Json.SaveWithFormatting(LauncherSettingsProvider.DefaultSettingsFileLocation, this, Formatting.Indented);
}