fix API version format
This commit is contained in:
parent
3f43ebcc0e
commit
9a091bd961
|
@ -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
|
||||
{
|
||||
/*********
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "api/1.0/mods?modKeys=nexus:541,chucklefish:4228,github:Zoryn4163/SMAPI-Mods",
|
||||
"launchUrl": "api/v1.0/mods?modKeys=nexus:541,chucklefish:4228,github:Zoryn4163/SMAPI-Mods",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
|||
"Dewdrop": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "api/1.0/mods?modKeys=nexus:541,chucklefish:4228,github:Zoryn4163/SMAPI-Mods",
|
||||
"launchUrl": "api/v1.0/mods?modKeys=nexus:541,chucklefish:4228,github:Zoryn4163/SMAPI-Mods",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue