mirror of
https://github.com/sp-tarkov/launcher.git
synced 2025-02-13 02:10:44 -05:00
remove trailing slashes from server url
This commit is contained in:
parent
ccc74fcdb4
commit
df5fc03708
@ -30,6 +30,7 @@ namespace Aki.Launcher.Helpers
|
|||||||
|
|
||||||
public void SaveSettings()
|
public void SaveSettings()
|
||||||
{
|
{
|
||||||
|
Server.Url = Path.TrimEndingDirectorySeparator(Server.Url);
|
||||||
Json.SaveWithFormatting(LauncherSettingsProvider.DefaultSettingsFileLocation, this, Formatting.Indented);
|
Json.SaveWithFormatting(LauncherSettingsProvider.DefaultSettingsFileLocation, this, Formatting.Indented);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user