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>
|
/// <summary>Provides an API to perform mod update checks.</summary>
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
[Route("api/{version:semanticVersion}/mods")]
|
[Route("api/v{version:semanticVersion}/mods")]
|
||||||
internal class ModsApiController : Controller
|
internal class ModsApiController : Controller
|
||||||
{
|
{
|
||||||
/*********
|
/*********
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"IIS Express": {
|
"IIS Express": {
|
||||||
"commandName": "IISExpress",
|
"commandName": "IISExpress",
|
||||||
"launchBrowser": true,
|
"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": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
"Dewdrop": {
|
"Dewdrop": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"launchBrowser": true,
|
"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": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue