This commit is contained in:
2020-05-13 23:47:30 +00:00
parent 594401ea68
commit 6c2033ad11

View File

@@ -434,7 +434,7 @@ namespace AyaNova.Api.Controllers
/// Get API server info for general display
/// </summary>
/// <returns>API server info</returns>
[HttpGet("ServerInfo")]
[HttpGet("server-info")]
public ActionResult ServerInfo()
{
return Ok(new
@@ -455,7 +455,7 @@ namespace AyaNova.Api.Controllers
/// Get build mode of server, used for automated testing purposes
/// </summary>
/// <returns>"DEBUG" or "RELEASE"</returns>
[HttpGet("BuildMode")]
[HttpGet("build-mode")]
public ActionResult BuildMode()
{
return Ok(new { data = new { BuildMode = "DEBUG" } });
@@ -465,7 +465,7 @@ namespace AyaNova.Api.Controllers
/// Get build mode of server, used for automated testing purposes
/// </summary>
/// <returns>"DEBUG" or "RELEASE"</returns>
[HttpGet("BuildMode")]
[HttpGet("build-mode")]
public ActionResult BuildMode()
{
return Ok(new { data = new { BuildMode = "RELEASE" } });