summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Controllers/ModsApiController.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-28 11:51:25 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-28 11:51:25 -0400
commit9a091bd961ed6dca221316a50c04b91318514ce3 (patch)
tree6f4845bea80f955c7c0d5db6ce6f8111e6d0c1b7 /src/SMAPI.Web/Controllers/ModsApiController.cs
parent3f43ebcc0e31db523fa82a163374cebf2f577cde (diff)
downloadSMAPI-9a091bd961ed6dca221316a50c04b91318514ce3.tar.gz
SMAPI-9a091bd961ed6dca221316a50c04b91318514ce3.tar.bz2
SMAPI-9a091bd961ed6dca221316a50c04b91318514ce3.zip
fix API version format
Diffstat (limited to 'src/SMAPI.Web/Controllers/ModsApiController.cs')
-rw-r--r--src/SMAPI.Web/Controllers/ModsApiController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Controllers/ModsApiController.cs b/src/SMAPI.Web/Controllers/ModsApiController.cs
index 1db5b59e..a600662c 100644
--- a/src/SMAPI.Web/Controllers/ModsApiController.cs
+++ b/src/SMAPI.Web/Controllers/ModsApiController.cs
@@ -14,7 +14,7 @@ namespace StardewModdingAPI.Web.Controllers
{
/// <summary>Provides an API to perform mod update checks.</summary>
[Produces("application/json")]
- [Route("api/{version:semanticVersion}/mods")]
+ [Route("api/v{version:semanticVersion}/mods")]
internal class ModsApiController : Controller
{
/*********