This commit is contained in:
@@ -433,7 +433,8 @@ namespace AyaNova.Api.Controllers
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get API server info for general display
|
/// Get API server info for general display
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>API server info</returns>
|
/// <returns>API server info</returns>
|
||||||
|
[Authorize]
|
||||||
[HttpGet("server-info")]
|
[HttpGet("server-info")]
|
||||||
public ActionResult ServerInfo()
|
public ActionResult ServerInfo()
|
||||||
{
|
{
|
||||||
@@ -455,6 +456,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
/// Get build mode of server, used for automated testing purposes
|
/// Get build mode of server, used for automated testing purposes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>"DEBUG" or "RELEASE"</returns>
|
/// <returns>"DEBUG" or "RELEASE"</returns>
|
||||||
|
[Authorize]
|
||||||
[HttpGet("build-mode")]
|
[HttpGet("build-mode")]
|
||||||
public ActionResult BuildMode()
|
public ActionResult BuildMode()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user