From df5fc03708fa49d3d959ff4929eb9e051de3ad5b Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Wed, 8 May 2024 09:04:10 -0400 Subject: [PATCH] remove trailing slashes from server url --- project/Aki.Launcher.Base/Helpers/LauncherSettingsProvider.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/project/Aki.Launcher.Base/Helpers/LauncherSettingsProvider.cs b/project/Aki.Launcher.Base/Helpers/LauncherSettingsProvider.cs index 771b513..1c51e8e 100644 --- a/project/Aki.Launcher.Base/Helpers/LauncherSettingsProvider.cs +++ b/project/Aki.Launcher.Base/Helpers/LauncherSettingsProvider.cs @@ -30,6 +30,7 @@ namespace Aki.Launcher.Helpers public void SaveSettings() { + Server.Url = Path.TrimEndingDirectorySeparator(Server.Url); Json.SaveWithFormatting(LauncherSettingsProvider.DefaultSettingsFileLocation, this, Formatting.Indented); }