From ea96fdf54167608502885a64e844e8b67f1c1d72 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 24 May 2020 14:35:16 -0400 Subject: update ModDrop URLs --- docs/release-notes.md | 3 ++- src/SMAPI.Web/ViewModels/ModModel.cs | 2 +- src/SMAPI.Web/appsettings.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 10c31143..5813298d 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -7,8 +7,9 @@ * MacOS files starting with `._` are now ignored and can no longer cause skipped mods. * For the web UI: - * Updated web framework to improve site performance and reliability. * Added GitHub licenses to mod compatibility list. + * Updated web framework to improve site performance and reliability. + * Updated ModDrop URLs. * Internal changes to improve performance and reliability. * For modders: diff --git a/src/SMAPI.Web/ViewModels/ModModel.cs b/src/SMAPI.Web/ViewModels/ModModel.cs index 45b12397..575d596a 100644 --- a/src/SMAPI.Web/ViewModels/ModModel.cs +++ b/src/SMAPI.Web/ViewModels/ModModel.cs @@ -106,7 +106,7 @@ namespace StardewModdingAPI.Web.ViewModels if (entry.ModDropID.HasValue) { anyFound = true; - yield return new ModLinkModel($"https://www.moddrop.com/sdv/mod/{entry.ModDropID}", "ModDrop"); + yield return new ModLinkModel($"https://www.moddrop.com/stardew-valley/mod/{entry.ModDropID}", "ModDrop"); } if (!string.IsNullOrWhiteSpace(entry.CurseForgeKey)) { diff --git a/src/SMAPI.Web/appsettings.json b/src/SMAPI.Web/appsettings.json index b1d39a6f..22fd7396 100644 --- a/src/SMAPI.Web/appsettings.json +++ b/src/SMAPI.Web/appsettings.json @@ -39,7 +39,7 @@ "GitHubPassword": null, "ModDropApiUrl": "https://www.moddrop.com/api/mods/data", - "ModDropModPageUrl": "https://www.moddrop.com/sdv/mod/{0}", + "ModDropModPageUrl": "https://www.moddrop.com/stardew-valley/mod/{0}", "NexusApiKey": null, "NexusBaseUrl": "https://www.nexusmods.com/stardewvalley/", -- cgit