diff --git a/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Download.cs b/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Download.cs index 398a10b3..69567ba4 100644 --- a/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Download.cs +++ b/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Download.cs @@ -11,7 +11,8 @@ public static partial class PluginFactory try { using var httpClient = new HttpClient(); - var response = await httpClient.GetAsync($"{configServerUrl}/{configPlugId}.zip", cancellationToken); + var serverUrl = configServerUrl.EndsWith('/') ? configServerUrl[..^1] : configServerUrl; + var response = await httpClient.GetAsync($"{serverUrl}/{configPlugId}.zip", cancellationToken); if (response.IsSuccessStatusCode) { await using var tempFileStream = File.Create(tempDownloadFile);