diff --git a/ModpackUpdater.Apps.Manager/Features/Workspaces/GitLabRepo/GitLabRepoWorkspace.cs b/ModpackUpdater.Apps.Manager/Features/Workspaces/GitLabRepo/GitLabRepoWorkspace.cs index 1c9b0b6..3cc5122 100644 --- a/ModpackUpdater.Apps.Manager/Features/Workspaces/GitLabRepo/GitLabRepoWorkspace.cs +++ b/ModpackUpdater.Apps.Manager/Features/Workspaces/GitLabRepo/GitLabRepoWorkspace.cs @@ -24,7 +24,8 @@ internal class GitLabRepoWorkspace(GitLabRepoWorkspaceConfig config) : IWorkspac public async Task Load() { - ModpackConfig = ModpackConfig.LoadFromUrl(Config.ModpackConfigUrl); + if (!string.IsNullOrWhiteSpace(Config.ModpackConfigUrl)) + ModpackConfig = ModpackConfig.LoadFromUrl(Config.ModpackConfigUrl); rawInstallInfos = await GetContent(ConfigX.FileLocationInstallJson); InstallInfos = InstallInfos.Parse(rawInstallInfos);